diff --git a/backend.py b/backend.py index 67e45b2..892c0f9 100644 --- a/backend.py +++ b/backend.py @@ -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) diff --git a/requirements.txt b/requirements.txt index 2077213..ad682d4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,2 @@ +dotenv Flask \ No newline at end of file