]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
Merge pull request #2216 from Rurik19/master
[github/wallabag/wallabag.git] / app / config / config.yml
index bce3826813138bb5a64864f42928d60553c30b37..30d6de930c27166e3aa6369b1fbf9a7383bfffee 100644 (file)
@@ -155,6 +155,11 @@ nelmio_cors:
             allow_headers: ['X-Custom-Auth']
             allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
             max_age: 3600
+        '^/oauth/':
+            allow_origin: ['*']
+            allow_headers: ['X-Custom-Auth']
+            allow_methods: ['POST', 'PUT', 'GET', 'DELETE']
+            max_age: 3600
         '^/':
             #origin_regex: true
             allow_origin: ['^http://localhost:[0-9]+']