You've already forked gun-manager-backend
this is my quickfix branch and i will use to do my quickfixes
This commit is contained in:
2
main.go
2
main.go
@@ -30,7 +30,7 @@ func main() {
|
|||||||
e.Use(middleware.Logger())
|
e.Use(middleware.Logger())
|
||||||
e.Use(middleware.Recover())
|
e.Use(middleware.Recover())
|
||||||
e.Use(middleware.CORSWithConfig(middleware.CORSConfig{
|
e.Use(middleware.CORSWithConfig(middleware.CORSConfig{
|
||||||
AllowOrigins: []string{"http://localhost", "http://127.0.0.1:4173", "http://127.0.0.1:8000"},
|
AllowOrigins: []string{"http://127.0.0.1:5173", "http://127.0.0.1:4173", "http://127.0.0.1:8000"},
|
||||||
AllowMethods: nil,
|
AllowMethods: nil,
|
||||||
}))
|
}))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user