Added .env loading

This commit is contained in:
2026-02-23 13:49:09 +00:00
parent aa1ceb7739
commit 49352cd0b2
2 changed files with 4 additions and 0 deletions

View File

@ -3,10 +3,13 @@ Imports all required blueprints and initalises the app.
Runs in debug mode if ran directly.
"""
import dotenv
import flask
from blueprints.static import staticBP
dotenv.load_dotenv()
app = flask.Flask(__name__, static_folder='./www/')
app.register_blueprint(staticBP)

View File

@ -1 +1,2 @@
dotenv
Flask