Rename to One API

This commit is contained in:
JustSong committed 2023-04-22 21:14:09 +08:00
1 parent 4cbef0780e
commit 483bd64d8f
39 files changed
+108 -108

No files matched your search

+1 -1
View File
@@ -7,6 +7,6 @@ import (
func CORS() gin.HandlerFunc {
config := cors.DefaultConfig()
config.AllowOrigins = []string{"https://gin-template.vercel.app", "http://localhost:3000/"}
config.AllowOrigins = []string{"https://one-api.vercel.app", "http://localhost:3000/"}
return cors.New(config)
}