Allow sub directories in custom stages

This commit is contained in:
Daniel 2021-02-04 09:56:52 +13:00
parent ec6015c7fb
commit aeac690c4e

View File

@ -46,6 +46,6 @@ def stages(path):
return send_from_directory(str(AppLocation.get_section_data_path('stages') / path), 'stage.html')
@main_views.route('/stage/<path>/<file>')
@main_views.route('/stage/<path:path>/<file>')
def stage_assets(path, file):
return send_from_directory(str(AppLocation.get_section_data_path('stages') / path), file)