Fix to sitebuilder script
This commit is contained in:
@@ -84,7 +84,7 @@ if __name__ == "__main__":
|
||||
@app.route("/media/<path:path>")
|
||||
@app.route("/src/<path:path>")
|
||||
@app.route("/favicon.ico")
|
||||
def static_file(path):
|
||||
def static_file(path=None):
|
||||
return app.send_static_file(request.path[1:])
|
||||
|
||||
app.run()
|
||||
|
||||
Reference in New Issue
Block a user