grim/goserve
Clone
Summary
Browse
Changes
Graph
This print somehow fixes stuff...
draft
2019-05-04, Gary Kramlich
84a7889c604f
Parents
405a77b9fdc8
Children
fae68662c5cd
This print somehow fixes stuff...
1 files changed, 1 insertions(+), 0 deletions(-)
+1
-0
main.go
--- a/main.go Sat May 04 14:27:27 2019 -0500
+++ b/main.go Sat May 04 14:27:37 2019 -0500
@@ -29,6 +29,7 @@
fs := http.FileServer(http.Dir(getenv("GOSERVE_ROOT", "html")))
if prefix := getenv("GOSERVE_PREFIX", ""); prefix != "" {
+ log.Printf("stripping prefix %q\n", prefix)
fs = http.StripPrefix(prefix, fs)
}