From aa1735d2d19bf3faaf854a46a74aaf222480817a Mon Sep 17 00:00:00 2001 From: Disassembler Date: Wed, 29 Nov 2017 20:46:58 +0100 Subject: [PATCH] Allow CTS to be served on any hostname --- 80-cts.sh | 0 cts/srv/cts/cts/settings/spotter.py | 1 + 2 files changed, 1 insertion(+) mode change 100644 => 100755 80-cts.sh diff --git a/80-cts.sh b/80-cts.sh old mode 100644 new mode 100755 diff --git a/cts/srv/cts/cts/settings/spotter.py b/cts/srv/cts/cts/settings/spotter.py index 3bd2f7f..c4c983f 100644 --- a/cts/srv/cts/cts/settings/spotter.py +++ b/cts/srv/cts/cts/settings/spotter.py @@ -29,6 +29,7 @@ ADMINS = ( ) INTERNAL_IPS = ('127.0.0.1', ) +ALLOWED_HOSTS = ['*'] PUBLIC_ROOT = os.path.join(PROJECT_ROOT, 'public') SENDFILE_ROOT = os.path.join(PUBLIC_ROOT, 'static/protected') COMPRESS_ENABLED = False