diff options
author | 2018-02-11 18:09:45 +0000 | |
---|---|---|
committer | 2018-02-11 18:09:45 +0000 | |
commit | ab326bc6b9cf2a73789da1e9faaeb2746910fc5b (patch) | |
tree | 2d8854d98cb160593486543337a4859b177661d4 | |
parent | [Asana] Apparently not all stories have types? (diff) |
Server name via env var, defaulted to localhost
-rw-r--r-- | pysite/route_manager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/route_manager.py b/pysite/route_manager.py index 1c00f92e..d7cf0fa1 100644 --- a/pysite/route_manager.py +++ b/pysite/route_manager.py @@ -24,7 +24,7 @@ class RouteManager: __name__, template_folder=TEMPLATES_PATH, static_folder=STATIC_PATH, static_url_path="/static", ) self.app.secret_key = os.environ.get("WEBPAGE_SECRET_KEY") - self.app.config["SERVER_NAME"] = "pythondiscord.com" + self.app.config["SERVER_NAME"] = os.environ.get("SERVER_NAME", "localhost") self.main_blueprint = Blueprint("main", __name__) |