fix_api
This commit is contained in:
@@ -26,7 +26,7 @@ var (
|
||||
r.Middleware.Next()
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
r.Response.CORS(ghttp.CORSOptions{
|
||||
AllowOrigin: "http://localhost:3000,http://localhost:8080",
|
||||
AllowMethods: "GET,POST,PUT,DELETE,OPTIONS",
|
||||
|
||||
Reference in New Issue
Block a user