removeod headers thing
This commit is contained in:
parent
50cfc3dff7
commit
5d57608fb6
1
main.go
1
main.go
@ -23,7 +23,6 @@ func main() {
|
||||
cors_config := cors.DefaultConfig()
|
||||
cors_config.AllowOrigins = []string{"https://games.acooldomain.co"}
|
||||
cors_config.AllowCredentials = true
|
||||
cors_config.AllowHeaders = []string{"*"}
|
||||
cors_config.ExposeHeaders = []string{"set-cookie"}
|
||||
router.Use(cors.New(cors_config))
|
||||
file, err := os.Open(os.Getenv(CONFIG_PATH_ENV_VAR))
|
||||
|
Loading…
x
Reference in New Issue
Block a user