This commit is contained in:
2023-12-01 22:11:49 +01:00
parent 932f423faf
commit f100a1a46a

View File

@@ -24,7 +24,7 @@ func Setup(injector *utils.Injector, config *handler.Config) {
router.HandleMethodNotAllowed = true router.HandleMethodNotAllowed = true
router.Use(cors.New(cors.Config{ router.Use(cors.New(cors.Config{
AllowOrigins: []string{"http://localhost:8080/", "http://localhost:8080"}, AllowOrigins: []string{"http://localhost:8080/", "http://localhost:8080", "http://localhost:19006"},
AllowMethods: []string{"*"}, AllowMethods: []string{"*"},
AllowHeaders: []string{"*"}, AllowHeaders: []string{"*"},
ExposeHeaders: []string{"*"}, ExposeHeaders: []string{"*"},