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