Browse Source

update cors policy

olinox14 1 year ago
parent
commit
a5e726aa35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .env

+ 1 - 1
.env

@@ -8,7 +8,7 @@ DATABASE_URL="none"
 ###< doctrine/doctrine-bundle ###
 
 ###> nelmio/cors-bundle ###
-CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1|(www\.)?cv\.ogene\.fr)|(www\.)?olivier\-massot\.ogene\.fr)(:[0-9]+)?$'
+CORS_ALLOW_ORIGIN='^https?:\/\/(localhost|127\.0\.0\.1|(www\.)?cv\.ogene\.fr|(www\.)?olivier-massot\.ogene\.fr)(:[0-9]+)?$'
 ###< nelmio/cors-bundle ###
 
 ###> symfony/mailer ###