|
@@ -12,6 +12,8 @@ def init_app():
|
|
|
with open("secrets.toml") as infile:
|
|
|
secrets = toml.load(infile)
|
|
|
app.secret_key = secrets["secret_key"]
|
|
|
+ app.config["GROUP_PASS"] = secrets["group_pass"]
|
|
|
+ app.config["GOOGLE_API_KEY"] = secrets["google_api_key"]
|
|
|
app.config["SQLALCHEMY_DATABASE_URI"] = secrets["db_uri"]
|
|
|
app.config["SQLALCHEMY_TRACK_MODIFICATIONS"] = False
|
|
|
|
|
@@ -25,4 +27,4 @@ def init_app():
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
- init_app().run("0.0.0.0", 5000)
|
|
|
+ init_app().run("0.0.0.0", 5000, debug=True)
|