Commit 79a85a56 authored by Yohan Boniface's avatar Yohan Boniface

app['ROOT'] is not defined until app is running

parent 217f2f37
......@@ -74,8 +74,8 @@ def serve(reload=False):
import hupper
hupper.start_reloader("classeafile.serve")
static(app, root=app["ROOT"])
simple_server(app, port=4321)
static(app, root=app["ROOT"])
def main():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment