Rename to One API

This commit is contained in:
JustSong
2023-04-22 21:14:09 +08:00
parent ab1f8a2bf4
commit 539eac217f
39 changed files with 108 additions and 108 deletions

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)
}