Fix to sitebuilder script
This commit is contained in:
parent
bf9e821772
commit
e8038ee07f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user