added cors bundle to allow external api access (#655)

This commit is contained in:
Kevin Papst
2019-03-23 11:04:55 +01:00
committed by GitHub
parent 13d9f8f3f7
commit 38ae013e03
8 changed files with 103 additions and 1 deletions

View File

@@ -25,6 +25,10 @@
<!-- ###+ symfony/swiftmailer-bundle ### -->
<env name="MAILER_URL" value="null://localhost" force="true"/>
<!-- ###- symfony/swiftmailer-bundle ### -->
<!-- ###+ nelmio/cors-bundle ### -->
<env name="CORS_ALLOW_ORIGIN" value="^https?://localhost(:[0-9]+)?$"/>
<!-- ###- nelmio/cors-bundle ### -->
</php>
<testsuites>