Parcourir la source

update cors policy

olinox14 il y a 1 an
Parent
commit
0edad85c6f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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)(:[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 ###