Skip to content

Commit

Permalink
Add SERVER_NAME configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Jan 1, 2024
1 parent dccf939 commit ed7afe3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flask_app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

with open("/etc/config.json", encoding="utf-8") as jsonfile:
config = json.load(jsonfile)

app.config["SECRET_KEY"] = config["SECRET_KEY"]
app.config["SERVER_NAME"] = "tekktrik.dev:8000"

bootstrap = Bootstrap5(app)

Expand Down

0 comments on commit ed7afe3

Please sign in to comment.