Ajout CORS backend

This commit is contained in:
wpetit 2020-02-19 11:51:51 +01:00
parent 9b46dab404
commit 0140e70967
1 changed files with 2 additions and 1 deletions

View File

@ -1,2 +1,3 @@
TRUSTED_HOSTS='^(localhost|127.0.0.1)$'
DATABASE_URL=mysql://logo:logo@database:3306/logo?server_version=mariadb-10.4.12
DATABASE_URL=mysql://logo:logo@database:3306/logo?server_version=mariadb-10.4.12
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$