diff --git a/ara/wsgi_sqlite.py b/ara/wsgi_sqlite.py index f5f6a322..6cf08beb 100644 --- a/ara/wsgi_sqlite.py +++ b/ara/wsgi_sqlite.py @@ -134,6 +134,7 @@ def application(environ, start_response): from ara.webapp import create_app try: app = create_app() + app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///{}'.format(database) app.config['APPLICATION_ROOT'] = match.group('path') return app(environ, start_response) except Exception as e: