mirror of https://github.com/searxng/searxng.git
[fix] get doi_rewriters from settings - fixes #1245
This commit is contained in:
parent
b8543bcf3a
commit
b9d4c0523e
|
@ -855,7 +855,7 @@ def config():
|
||||||
'safe_search': settings['search']['safe_search'],
|
'safe_search': settings['search']['safe_search'],
|
||||||
'default_theme': settings['ui']['default_theme'],
|
'default_theme': settings['ui']['default_theme'],
|
||||||
'version': VERSION_STRING,
|
'version': VERSION_STRING,
|
||||||
'doi_resolvers': [r for r in search['doi_resolvers']],
|
'doi_resolvers': [r for r in settings['doi_resolvers']],
|
||||||
'default_doi_resolver': settings['default_doi_resolver'],
|
'default_doi_resolver': settings['default_doi_resolver'],
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue