wip
This commit is contained in:
@@ -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{"*"},
|
||||||
|
|||||||
Reference in New Issue
Block a user