diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-01 19:24:47 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-01 19:24:47 +0100 |
| commit | 798bef77f9b43e713aeb9ac2938785538538a99c (patch) | |
| tree | bcec3623136446037bf702da7584c98c40940f1f /searx/webapp.py | |
| parent | 2f9a386c0db884ffbea27f43bdcff5bfd1876ad1 (diff) | |
[fix] static content paths
Diffstat (limited to 'searx/webapp.py')
| -rw-r--r-- | searx/webapp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index fca42d48e..6ee9af745 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -73,7 +73,7 @@ babel = Babel(app) global_favicons = [] for indice, theme in enumerate(themes): global_favicons.append([]) - theme_img_path = searx_dir+"/static/"+theme+"/img/icons/" + theme_img_path = searx_dir+"/static/themes/"+theme+"/img/icons/" for (dirpath, dirnames, filenames) in os.walk(theme_img_path): global_favicons[indice].extend(filenames) @@ -506,7 +506,7 @@ def opensearch(): @app.route('/favicon.ico') def favicon(): return send_from_directory(os.path.join(app.root_path, - 'static', + 'static/themes', get_current_theme_name(), 'img'), 'favicon.png', |