Symfony 5.4 - Update Nelmio Cors Recipe

This commit is contained in:
Jack Anderson 2023-10-09 15:47:06 +01:00 committed by Clemente Raposo
parent 531feb5947
commit 015f254a7d
2 changed files with 5 additions and 5 deletions

2
.env
View file

@ -20,7 +20,7 @@ APP_ENV=dev
###< symfony/framework-bundle ###
###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###< nelmio/cors-bundle ###
###> AUTH_TYPE ###

View file

@ -374,15 +374,15 @@
"version": "1.9.5"
},
"nelmio/cors-bundle": {
"version": "1.5",
"version": "2.3",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "master",
"branch": "main",
"version": "1.5",
"ref": "6388de23860284db9acce0a7a5d9d13153bcb571"
"ref": "6bea22e6c564fba3a1391615cada1437d0bde39c"
},
"files": [
"./config/packages/nelmio_cors.yaml"
"config/packages/nelmio_cors.yaml"
]
},
"nesbot/carbon": {