From a23edd3e7bf6ed12159107b8949d70b119a98510 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Mon, 21 Aug 2023 16:01:36 +0800 Subject: [PATCH] fix --- proxyserver/main.go | 2 ++ 1 file changed, 2 insertions(+) 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)