Skip to content
Commits on Source (1)
......@@ -172,20 +172,20 @@ def version():
################################################################################
# CDN serving
@app.route( baseurl + '/cdn/<path:subpath>' )
def send_cdn_files( subpath ):
return send_from_directory( 'cdn', subpath )
@app.route( baseurl + '/cdn/<path:path>' )
def send_cdn_files( path ):
return send_from_directory( 'cdn', path )
################################################################################
# App serving
@app.route( baseurl + '/app/<path:subpath>' )
def send_app_files( subpath ):
return send_from_directory( 'app', subpath )
@app.route( baseurl + '/app/<path:path>' )
def send_app_files( path ):
return send_from_directory( 'app', path )
@app.route( baseurl + '/static/<path:subpath>' )
def send_static_files( subpath ):
return send_from_directory( 'static', subpath )
@app.route( baseurl + '/static/<path:path>' )
def send_static_files( path ):
return send_from_directory( 'static', path )
################################################################################
# Sessions
......