diff options
Diffstat (limited to 'searx/__init__.py')
-rw-r--r-- | searx/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searx/__init__.py b/searx/__init__.py index e3036b766..1ba03ad63 100644 --- a/searx/__init__.py +++ b/searx/__init__.py @@ -56,6 +56,9 @@ if not settings_path: with open(settings_path, 'r', encoding='utf-8') as settings_yaml: settings = safe_load(settings_yaml) +if settings['ui']['static_path']: + static_path = settings['ui']['static_path'] + ''' enable debug if the environnement variable SEARX_DEBUG is 1 or true |