Fix to sitebuilder script

This commit is contained in:
Thomas Lovén 2016-10-25 10:25:19 +02:00
parent bf9e821772
commit e8038ee07f

View File

@ -84,7 +84,7 @@ if __name__ == "__main__":
@app.route("/media/<path:path>") @app.route("/media/<path:path>")
@app.route("/src/<path:path>") @app.route("/src/<path:path>")
@app.route("/favicon.ico") @app.route("/favicon.ico")
def static_file(path): def static_file(path=None):
return app.send_static_file(request.path[1:]) return app.send_static_file(request.path[1:])
app.run() app.run()