Re #45 - Set datastore path in app.config

This commit is contained in:
dgtlmoon committed 2021-05-01 01:18:59 +10:00
1 parent 4164ad29e3
commit cd6ce89587
1 file changed
+1
+1
View File
@@ -66,6 +66,7 @@ def main(argv):
datastore = store.ChangeDetectionStore(datastore_path=app_config['datastore_path'])
app = backend.changedetection_app(app_config, datastore)
app.config['datastore_path'] = datastore_path
app.secret_key = init_app_secret(app_config['datastore_path'])
@app.context_processor