X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=app%2Fconfig%2Fconfig.yml;h=30fd60636376415c91c0da22cfa638090cf2ac8e;hb=c4da9d1cd8df4a9efdb3150396432680d93f6e5a;hp=6a8078ccdf1c8195d63f8f96254c64da3f19f0fc;hpb=9f8c43e222feb88f18597e42ab0512fda483d46d;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config.yml b/app/config/config.yml index 6a8078cc..30fd6063 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -30,7 +30,7 @@ framework: assets: ~ wallabag_core: - version: 2.0.5 + version: 2.0.7 paypal_url: "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9UBA65LG3FX9Y&lc=gb" languages: en: 'English' @@ -50,6 +50,9 @@ wallabag_core: rss_limit: 50 reading_speed: 1 +wallabag_user: + registration_enabled: "%fosuser_registration%" + wallabag_import: allow_mimetypes: ['application/octet-stream', 'application/json', 'text/plain'] resource_dir: "%kernel.root_dir%/../web/uploads/import" @@ -61,19 +64,6 @@ twig: form_themes: - "LexikFormFilterBundle:Form:form_div_layout.html.twig" -# Assetic Configuration -assetic: - debug: "%kernel.debug%" - use_controller: false - bundles: [ ] - #java: /usr/bin/java - filters: - cssrewrite: ~ - #closure: - # jar: "%kernel.root_dir%/Resources/java/compiler.jar" - #yui_css: - # jar: "%kernel.root_dir%/Resources/java/yuicompressor-2.4.7.jar" - # Doctrine Configuration doctrine: dbal: @@ -151,6 +141,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']