ooops config name
This commit is contained in:
parent
34650682dc
commit
ae9d686aa1
2 changed files with 2 additions and 2 deletions
|
@ -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/'
|
||||
|
|
|
@ -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/'))
|
||||
|
|
Loading…
Reference in a new issue