Browse Source

update cors policy

olinox14 1 năm trước cách đây
mục cha
commit
a5e726aa35
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 ###