hopefully fixed cors
This commit is contained in:
parent
3a77ff63a2
commit
73db604a2c
2
main.go
2
main.go
@ -24,6 +24,8 @@ func main() {
|
|||||||
AllowOrigins: []string{"*"},
|
AllowOrigins: []string{"*"},
|
||||||
AllowCredentials: true,
|
AllowCredentials: true,
|
||||||
AllowMethods: []string{"*"},
|
AllowMethods: []string{"*"},
|
||||||
|
AllowAllOrigins: true,
|
||||||
|
AllowHeaders: []string{"*"},
|
||||||
}))
|
}))
|
||||||
file, err := os.Open(os.Getenv(CONFIG_PATH_ENV_VAR))
|
file, err := os.Open(os.Getenv(CONFIG_PATH_ENV_VAR))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user