Browse Source

update cors environnement variable

olinox14 1 year ago
parent
commit
604decc282
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .env

+ 2 - 2
.env

@@ -8,7 +8,7 @@ DATABASE_URL="none"
 ###< doctrine/doctrine-bundle ###
 
 ###> nelmio/cors-bundle ###
-CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
+CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1|(www\.)?cv\.ogene\.fr)(:[0-9]+)?$'
 ###< nelmio/cors-bundle ###
 
 ###> symfony/mailer ###
@@ -16,4 +16,4 @@ MAILER_DSN=smtp://localhost
 ###< symfony/mailer ###
 
 FROM_EMAIL=noreply@mail.ogene.fr
-CONTACT_EMAIL=olinox14@tuta.io
+CONTACT_EMAIL=olinox14@tuta.io