diff --git a/proxyserver/main.go b/proxyserver/main.go index a03aeeb0..2c4a4772 100644 --- a/proxyserver/main.go +++ b/proxyserver/main.go @@ -41,6 +41,8 @@ func SetCors(w http.ResponseWriter, r *http.Request) { var pathdict sync.Map = sync.Map{} func main() { + log.SetFlags(log.Llongfile) + // 将静态资源路径存储到pathdict pathdict.Store("/css", true) pathdict.Store("/fonts", true)