Make default static root relative to script path
This commit is contained in:
@@ -4,5 +4,5 @@ import milla
|
||||
|
||||
def make_app():
|
||||
app = milla.Application(routes.router)
|
||||
app.config.setdefault('milla.static_root', '/static/')
|
||||
app.config.setdefault('milla.static_root', 'static/')
|
||||
return app
|
||||
|
||||
Reference in New Issue
Block a user