Bootstrap

Access to XMLHttpRequest at ‘http‘ from origin ‘http://has been blocked by CORS policy: No ‘Access-C

奇葩错误  明明已经w.Header().Set("Access-Control-Allow-Origin", "*")

为什么前端还是报这个错误  ?

 

;