X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2Fconfig%2Fconfig.yml;h=642e198d413e2a1c232ef4044346ff748633fc72;hb=638f799af38544ae2d2de9f9e402865f4d907001;hp=078f277ac408ca6220b51099e273240252435128;hpb=9f0957b831622ee577fa7d8f92ec0df6f3a8e274;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/config/config.yml b/app/config/config.yml index 078f277a..642e198d 100644 --- a/app/config/config.yml +++ b/app/config/config.yml @@ -370,3 +370,29 @@ jms_serializer: sensio_framework_extra: router: annotations: false + +httplug: + clients: + wallabag_core: + factory: 'wallabag_core.http_client_factory' + config: + defaults: + timeout: 10 + plugins: ['httplug.plugin.logger'] + wallabag_core.entry.download_images: + factory: 'httplug.factory.auto' + plugins: ['httplug.plugin.logger'] + wallabag_import.pocket.client: + factory: 'httplug.factory.auto' + plugins: + - 'httplug.plugin.logger' + - header_defaults: + headers: + 'content-type': 'application/json' + 'X-Accept': 'application/json' + discovery: + client: false + +# define custom entity so we can override length attribute to fix utf8mb4 issue +craue_config: + entity_name: Wallabag\CoreBundle\Entity\InternalSetting