mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-15 00:03:28 +01:00
proxy mode: respect settings when started from cli (#557)
This commit is contained in:
parent
be90e06742
commit
871a05a76a
@ -54,6 +54,8 @@ class WarcServer(BaseWarcServer):
|
||||
if custom_config:
|
||||
if 'collections' in custom_config and 'collections' in config:
|
||||
custom_config['collections'].update(config['collections'])
|
||||
if 'proxy' in custom_config and 'proxy' in config:
|
||||
custom_config['proxy'].update(config['proxy'])
|
||||
config.update(custom_config)
|
||||
|
||||
super(WarcServer, self).__init__(debug=config.get('debug', False))
|
||||
|
Loading…
x
Reference in New Issue
Block a user