Added warning in code

This commit is contained in:
Stephen McQuay 2015-06-11 20:37:34 -07:00
parent 8096c76b1e
commit 5914f93881
1 changed files with 2 additions and 0 deletions

View File

@ -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),