Make default static root relative to script path

master
Dustin 2015-03-07 22:57:37 -06:00
parent 91b6fb5b9c
commit bd9e3ff931
1 changed files with 1 additions and 1 deletions

View File

@ -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