This commit is contained in:
2026-01-18 21:52:04 +08:00
parent ff4e069a7e
commit c62b4c04ec
147 changed files with 820 additions and 2028 deletions

View File

@@ -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",