Commit aa433aa285e4613bb4cc74872f19861f770f4f75

Authored by 陆恒
1 parent 6e4d480f
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/httpserver.go
... ... @@ -777,7 +777,7 @@ func UserLogin(w http.ResponseWriter, r *http.Request) {
777 777 logger.Info("*********************key=%v,value=%v", k, v)
778 778 }
779 779  
780   - w.Header().Add("Access-Control-Allow-Headers", "")
  780 + w.Header().Add("Access-Control-Allow-Headers", "*")
781 781 w.Header().Set("Access-Control-Allow-Headers", "Authorization, Content-Length, X-CSRF-Token, Token,session,X_Requested_With,Accept, Origin, Host, Connection, Accept-Encoding, Accept-Language,DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Pragma")
782 782  
783 783 Uuid := 0
... ...