mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Fixing various typo
This commit is contained in:
@ -123,7 +123,7 @@ def runserver(host='', port='', debug=None, serve_static='', user='',
|
||||
for d in reversed(settings.TEMPLATE_DIRS):
|
||||
bottle.TEMPLATE_PATH.insert(0, d)
|
||||
|
||||
if serve_static:
|
||||
if settings.STATIC_FILES_ROOT:
|
||||
@app.route('/static/<filename:path>')
|
||||
def server_static(filename):
|
||||
return static_file(filename, root=settings.STATIC_FILES_ROOT)
|
||||
|
Reference in New Issue
Block a user