|
@@ -73,7 +73,7 @@ babel = Babel(app)
|
73
|
73
|
global_favicons = []
|
74
|
74
|
for indice, theme in enumerate(themes):
|
75
|
75
|
global_favicons.append([])
|
76
|
|
- theme_img_path = searx_dir+"/static/"+theme+"/img/icons/"
|
|
76
|
+ theme_img_path = searx_dir+"/static/themes/"+theme+"/img/icons/"
|
77
|
77
|
for (dirpath, dirnames, filenames) in os.walk(theme_img_path):
|
78
|
78
|
global_favicons[indice].extend(filenames)
|
79
|
79
|
|
|
@@ -506,7 +506,7 @@ def opensearch():
|
506
|
506
|
@app.route('/favicon.ico')
|
507
|
507
|
def favicon():
|
508
|
508
|
return send_from_directory(os.path.join(app.root_path,
|
509
|
|
- 'static',
|
|
509
|
+ 'static/themes',
|
510
|
510
|
get_current_theme_name(),
|
511
|
511
|
'img'),
|
512
|
512
|
'favicon.png',
|