Parcourir la source

update local cors policy

Olivier Massot il y a 2 ans
Parent
commit
d9dc2c9d22
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      env/.env.docker

+ 1 - 1
env/.env.docker

@@ -8,7 +8,7 @@ DATABASE_URL=mysql://root:mysql660@db:3306/opentalent?serverVersion=5.7
 ###< doctrine/doctrine-bundle ###
 
 ###> nelmio/cors-bundle ###
-CORS_ALLOW_ORIGIN=^https?:\/\/(localhost|127\.0\.0\.1|(local.(admin|app|app\-v3|frames|frames_v3).opentalent.fr))(:[0-9]+)?$
+CORS_ALLOW_ORIGIN=^https?:\/\/(localhost|127\.0\.0\.1|(local.(admin|app|app|frames|agenda).opentalent.fr))(:[0-9]+)?$
 ###< nelmio/cors-bundle ###
 
 ###> api v1 ###