cors support
This commit is contained in:
父節點
65149386c4
當前提交
b9d2bde1a5
@ -8,6 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func Setup(engine *gin.Engine) {
|
||||
engine.Use(middleware.Cors())
|
||||
user := engine.Group("/user")
|
||||
{
|
||||
hub := service.ExUserService
|
||||
|
載入中…
x
新增問題並參考
Block a user