UPDATE: changed init to use environment variables instead of hard coded URL

This commit is contained in:
white
2025-03-05 12:33:16 +00:00
parent cf7e6afe0b
commit e011dffe7d
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ def create_app():
And setup web sockets to be used throughout the project.
"""
app = Flask(__name__)
app.config["SERVER_NAME"] = "127.0.0.1:8080"
app.config["SERVER_NAME"] = getenv("HOMEPAGE_URL")
app.config["SECRET_KEY"] = getenv("FLASK_SECRET_KEY")
app.config["SESSION_PERMANENT"] = False
app.config["SESSION_TYPE"] = "filesystem"