diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/AppKernel.php | 1 | ||||
-rw-r--r-- | app/config/config.yml | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/app/AppKernel.php b/app/AppKernel.php index 7d19e9ab..4a54da29 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php | |||
@@ -34,6 +34,7 @@ class AppKernel extends Kernel | |||
34 | new FOS\JsRoutingBundle\FOSJsRoutingBundle(), | 34 | new FOS\JsRoutingBundle\FOSJsRoutingBundle(), |
35 | new BD\GuzzleSiteAuthenticatorBundle\BDGuzzleSiteAuthenticatorBundle(), | 35 | new BD\GuzzleSiteAuthenticatorBundle\BDGuzzleSiteAuthenticatorBundle(), |
36 | new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(), | 36 | new OldSound\RabbitMqBundle\OldSoundRabbitMqBundle(), |
37 | new Http\HttplugBundle\HttplugBundle(), | ||
37 | 38 | ||
38 | // wallabag bundles | 39 | // wallabag bundles |
39 | new Wallabag\CoreBundle\WallabagCoreBundle(), | 40 | new Wallabag\CoreBundle\WallabagCoreBundle(), |
diff --git a/app/config/config.yml b/app/config/config.yml index 078f277a..309945c5 100644 --- a/app/config/config.yml +++ b/app/config/config.yml | |||
@@ -370,3 +370,22 @@ 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 | plugins: ['httplug.plugin.logger'] | ||
379 | wallabag_core.entry.download_images: | ||
380 | factory: 'httplug.factory.auto' | ||
381 | plugins: ['httplug.plugin.logger'] | ||
382 | wallabag_import.pocket.client: | ||
383 | factory: 'httplug.factory.auto' | ||
384 | plugins: | ||
385 | - 'httplug.plugin.logger' | ||
386 | - header_defaults: | ||
387 | headers: | ||
388 | 'content-type': 'application/json' | ||
389 | 'X-Accept': 'application/json' | ||
390 | discovery: | ||
391 | client: false | ||