Skip to content

Commit 1b395c7

Browse files
committed
Fix broken email link
in bco_api/bco_api/settings.py:107 updated so ALLOWEDHOSTS has a value for public servers. Changes to be committed: modified: bco_api/bco_api/settings.py
1 parent f7c2d91 commit 1b395c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bco_api/bco_api/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080

8181
elif(server_config['REQUESTS_FROM']['public'].strip() == 'true'):
8282

83-
ALLOWED_HOSTS = ['*']
83+
ALLOWED_HOSTS = [server_config['HOSTNAMES']['prod_names'].split(',')[0],'*']
8484
CORS_ORIGIN_ALLOW_ALL = True
8585

8686
# Use the built-in REST framework.

0 commit comments

Comments
 (0)