Skip to content

Commit 88743ed

Browse files
committed
Updated config.
1 parent 2c3a7ce commit 88743ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backendapp/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
WSB_PORT = os.getenv('WSB_PORT', defaults.WSB_PORT)
6262
WSB_HOST = os.getenv('WSB_HOST', defaults.WSB_HOST)
6363
WSB_PROTOCOL = os.getenv('WSB_PROTOCOL', defaults.WSB_PROTOCOL)
64-
SERVER_NAME = os.environ['SERVER_NAME']
64+
SERVER_NAME = os.getenv('SERVER_NAME', "{host}:{port}".format(host=WSB_HOST, port=WSB_PORT))
6565

6666
PREFERRED_URL_SCHEME = WSB_PORT.replace("://", "")
6767

0 commit comments

Comments
 (0)