forked from wallabag/wallabag
Make DownloadImages use HttpClient
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user