From 5914f93881730ef09444307b8e2bbcd60c93fe4c Mon Sep 17 00:00:00 2001 From: stephen mcquay Date: Thu, 11 Jun 2015 20:37:34 -0700 Subject: [PATCH] Added warning in code --- cmd/smweb/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/smweb/main.go b/cmd/smweb/main.go index 694ff9c..4e81483 100644 --- a/cmd/smweb/main.go +++ b/cmd/smweb/main.go @@ -19,6 +19,8 @@ func main() { } else { fs = http.Dir(os.Getenv("SM_STATIC")) } + // XXX: beware: I've copy/pasted this twice now and been confused because + // I ought to have been using my own servemux http.Handle( "/", http.FileServer(fs),