fix
This commit is contained in:
parent
ebbcc2050c
commit
a23edd3e7b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user