fix: remove os.environ query for SQLITE location

This commit is contained in:
2023-08-12 14:01:07 +02:00
parent 0feb5a69fa
commit cedbf68130

View File

@@ -22,7 +22,7 @@ from sqlalchemy.sql.expression import func
HOST = "icinga.atlantishq.de"
app = flask.Flask("Signal Notification Gateway")
app.config["SQLALCHEMY_DATABASE_URI"] = os.environ["SQLITE"] or "sqlite:///sqlite.db"
app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite:///sqlite.db"
db = SQLAlchemy(app)
class DispatchObject(db.Model):