From bf40dc47930c8d3ab1504ae5d02d70b47c57bb8a Mon Sep 17 00:00:00 2001 From: mabashian Date: Tue, 24 Jul 2018 16:53:48 -0400 Subject: [PATCH] Adds websocket origin whitelist --- awx/settings/development.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/awx/settings/development.py b/awx/settings/development.py index 0061157ec4..3556dc6540 100644 --- a/awx/settings/development.py +++ b/awx/settings/development.py @@ -158,3 +158,5 @@ try: os.environ['SDB_NOTIFY_HOST'] = 'docker.for.mac.internal' except Exception: os.environ['SDB_NOTIFY_HOST'] = os.popen('ip route').read().split(' ')[2] + +WEBSOCKET_ORIGIN_WHITELIST = ['https://localhost:8043', 'https://localhost:3000']