ooops config name

This commit is contained in:
boyska 2013-12-04 16:38:36 +01:00
parent 34650682dc
commit ae9d686aa1
2 changed files with 2 additions and 2 deletions

View file

@ -2,5 +2,5 @@ OUTPUT_DIR='output'
HOST='localhost'
PORT='8000'
DEBUG=True
DB_URI='sqlite:///techrec.db'
DB_URI='sqlite://techrec.db'
AUDIO_OUTPUT='output/'

View file

@ -85,7 +85,7 @@ class RecServer:
## Static part of the site
self._app.route('/output/<filepath:path>',
callback=lambda filepath:
static_file(filepath, root=get_config()['OUTPUT_DIR']))
static_file(filepath, root=get_config()['AUDIO_OUTPUT']))
self._app.route('/static/<filepath:path>',
callback=lambda filepath: static_file(filepath,
root='static/'))