mirror of
https://github.com/wallabag/wallabag.git
synced 2025-09-15 18:57:05 +00:00
Make DownloadImages use HttpClient
This commit is contained in:
parent
a8634d7116
commit
0576cb613f
4 changed files with 65 additions and 90 deletions
|
@ -36,6 +36,10 @@ framework:
|
|||
assets: ~
|
||||
mailer:
|
||||
dsn: "%mailer_dsn%"
|
||||
http_client:
|
||||
scoped_clients:
|
||||
download_images.client:
|
||||
scope: '.*'
|
||||
|
||||
# Twig Configuration
|
||||
twig:
|
||||
|
@ -421,9 +425,6 @@ httplug:
|
|||
defaults:
|
||||
timeout: 10
|
||||
plugins: ['httplug.plugin.logger']
|
||||
wallabag_core.entry.download_images:
|
||||
factory: 'httplug.factory.auto'
|
||||
plugins: ['httplug.plugin.logger']
|
||||
wallabag_core.pocket.client:
|
||||
factory: 'httplug.factory.auto'
|
||||
plugins:
|
||||
|
|
|
@ -258,9 +258,6 @@ services:
|
|||
$defaultSettings: '%wallabag_core.default_internal_settings%'
|
||||
$defaultIgnoreOriginInstanceRules: '%wallabag_core.default_ignore_origin_instance_rules%'
|
||||
|
||||
wallabag_core.entry.download_images.client:
|
||||
alias: 'httplug.client.wallabag_core.entry.download_images'
|
||||
|
||||
Wallabag\CoreBundle\Mailer\UserMailer:
|
||||
arguments:
|
||||
$parameters:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue