Skip to content
Snippets Groups Projects
Commit 8d50efd3 authored by Simon Künzel's avatar Simon Künzel
Browse files

Replace SERVER_NAME config key as flask doesn't like it

parent eac88a38
No related branches found
No related tags found
No related merge requests found
Checking pipeline status
......@@ -2,7 +2,7 @@
DEBUG = True
# Name of this instance
SERVER_NAME = "dev"
API_SERVER_NAME = "dev"
# Prefix which is prepended to paths (which are saved in the database) before they are provided by the api
# Must include the last /
......
......@@ -11,7 +11,7 @@ _GIT_COMMIT_HASH = os.environ.get("VIDEOAG_API_GIT_COMMIT_HASH", None)
if _GIT_COMMIT_HASH is not None and len(_GIT_COMMIT_HASH) == 0:
_GIT_COMMIT_HASH = None
_SERVER_NAME = api.config["SERVER_NAME"]
_SERVER_NAME = api.config["API_SERVER_NAME"]
@api_route("/status", ["GET"], allow_while_readonly=True, allow_while_disabled=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment