mirror of
https://gitee.com/johng/gf
synced 2026-07-07 06:15:15 +08:00
fix issue in status checks for static file serving
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user