Quellcode durchsuchen

update cors policy

olinox14 vor 1 Jahr
Ursprung
Commit
0edad85c6f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 ###