diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-05-28 14:00:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-28 14:00:22 +0200 |
commit | 48d136d3a08d7f4ca8e0d434d8104c746d31957d (patch) | |
tree | 308e15326adc658702f257693338f101d36e1af8 /app/config | |
parent | 92a66835624acf6fd14f5adc5f8aab399658592e (diff) | |
parent | 6e68417f0356d0045d7a2aa3832507d362ddcfe8 (diff) | |
download | wallabag-48d136d3a08d7f4ca8e0d434d8104c746d31957d.tar.gz wallabag-48d136d3a08d7f4ca8e0d434d8104c746d31957d.tar.zst wallabag-48d136d3a08d7f4ca8e0d434d8104c746d31957d.zip |
Merge pull request #3390 from aaa2000/httplug
Use httplug and graby 2.0
Diffstat (limited to 'app/config')
-rw-r--r-- | app/config/config.yml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/app/config/config.yml b/app/config/config.yml index 078f277a..bbcc682f 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -370,3 +370,25 @@ jms_serializer: | |||
370 | sensio_framework_extra: | 370 | sensio_framework_extra: |
371 | router: | 371 | router: |
372 | annotations: false | 372 | annotations: false |
373 | |||
374 | httplug: | ||
375 | clients: | ||
376 | wallabag_core: | ||
377 | factory: 'wallabag_core.http_client_factory' | ||
378 | config: | ||
379 | defaults: | ||
380 | timeout: 10 | ||
381 | plugins: ['httplug.plugin.logger'] | ||
382 | wallabag_core.entry.download_images: | ||
383 | factory: 'httplug.factory.auto' | ||
384 | plugins: ['httplug.plugin.logger'] | ||
385 | wallabag_import.pocket.client: | ||
386 | factory: 'httplug.factory.auto' | ||
387 | plugins: | ||
388 | - 'httplug.plugin.logger' | ||
389 | - header_defaults: | ||
390 | headers: | ||
391 | 'content-type': 'application/json' | ||
392 | 'X-Accept': 'application/json' | ||
393 | discovery: | ||
394 | client: false | ||