Added warning in code
This commit is contained in:
parent
8096c76b1e
commit
5914f93881
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user