mirror of https://gitlab.com/openlp/openlp.git
Fix for not found i18n directory
This commit is contained in:
parent
6498b66698
commit
9b794e4ff8
|
@ -39,7 +39,7 @@ def index(path):
|
||||||
'index.html', mimetype='text/html')
|
'index.html', mimetype='text/html')
|
||||||
|
|
||||||
|
|
||||||
@main_views.route('/assets/<path>')
|
@main_views.route('/assets/<path:path>')
|
||||||
def assets(path):
|
def assets(path):
|
||||||
return send_from_directory(str(AppLocation.get_section_data_path('remotes') / 'assets'),
|
return send_from_directory(str(AppLocation.get_section_data_path('remotes') / 'assets'),
|
||||||
path, mimetype=get_mime_type(path))
|
path, mimetype=get_mime_type(path))
|
||||||
|
|
Loading…
Reference in New Issue