放行所有 CORS 请求

This commit is contained in:
2022-02-22 21:41:50 +08:00
parent 014dbe4982
commit ccd5ca916d
3 changed files with 23 additions and 0 deletions

1
go.mod
View File

@@ -3,6 +3,7 @@ module yggdrasil-go
go 1.17
require (
github.com/gin-contrib/cors v1.3.1
github.com/gin-gonic/gin v1.7.7
github.com/google/uuid v1.3.0
github.com/hashicorp/golang-lru v0.5.4