fix issue in status checks for static file serving

This commit is contained in:
John
2019-10-25 17:04:17 +08:00
parent f2b45622d6
commit bc7b5c8626
2 changed files with 4 additions and 2 deletions

View File

@ -7,7 +7,9 @@ func main() {
s := g.Server()
s.SetIndexFolder(true)
s.SetServerRoot("/Users/john/Downloads")
s.AddSearchPath("/Users/john/Documents")
//s.AddSearchPath("/Users/john/Documents")
s.SetErrorLogEnabled(true)
s.SetAccessLogEnabled(true)
s.SetPort(8199)
s.Run()
}