]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - app/config/config.yml
Enable PATCH method for CORS in API part
[github/wallabag/wallabag.git] / app / config / config.yml
index f0885d9d1d9c19c8bd28c7430e4bc96fcf470648..408e1b1e4e2cd700cfae8d8587a21f8410ff6a31 100644 (file)
@@ -28,7 +28,7 @@ framework:
     assets: ~
 
 wallabag_core:
-    version: 2.0.0-beta.2
+    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'
@@ -40,10 +40,13 @@ wallabag_core:
         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']
@@ -80,6 +83,7 @@ doctrine:
         password: "%database_password%"
         charset:  UTF8
         path:     "%database_path%"
+        server_version: 5.6
 
     orm:
         auto_generate_proxy_classes: "%kernel.debug%"
@@ -144,6 +148,11 @@ nelmio_cors:
         #origin_regex: false
     paths:
         '^/api/':
+            allow_origin: ['*']
+            allow_headers: ['X-Custom-Auth']
+            allow_methods: ['POST', 'PUT', 'PATCH','GET', 'DELETE']
+            max_age: 3600
+        '^/oauth/':
             allow_origin: ['*']
             allow_headers: ['X-Custom-Auth']
             allow_methods: ['POST', 'PUT', 'GET', 'DELETE']