]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
Enable CORS headers for OAUTH part
[github/wallabag/wallabag.git] / app / config / config.yml
index 58ab83b079d89b18a6b3abed739d75051232f174..666df96388039b31abf9477ce854caefba3bd7b3 100644 (file)
@@ -28,7 +28,7 @@ framework:
     assets: ~
 
 wallabag_core:
-    version: 2.0.0-beta.1
+    version: 2.0.4
     paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb"
     languages:
         en: 'English'
@@ -39,10 +39,14 @@ wallabag_core:
         ro: 'Română'
         pl: 'Polish'
         da: 'Dansk'
+        es: 'Español'
+        oc: 'Occitan'
+        it: 'Italiano'
     items_on_page: 12
     theme: material
     language: en
     rss_limit: 50
+    reading_speed: 1
 
 wallabag_import:
     allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain']
@@ -79,6 +83,7 @@ doctrine:
         password: "%database_password%"
         charset:  UTF8
         path:     "%database_path%"
+        server_version: 5.6
 
     orm:
         auto_generate_proxy_classes: "%kernel.debug%"
@@ -147,6 +152,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]+']