From 142faea37b91680233da5010d73259099a15a795 Mon Sep 17 00:00:00 2001 From: David Trattnig <david.trattnig@o94.at> Date: Thu, 10 Sep 2020 12:59:37 +0200 Subject: [PATCH] Fixed whitelisting: missing protocol prefix. --- pv/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pv/settings.py b/pv/settings.py index 80514a60..2c8244ae 100644 --- a/pv/settings.py +++ b/pv/settings.py @@ -30,8 +30,8 @@ ALLOWED_HOSTS = ['127.0.0.1', 'localhost'] # Whitelist IPs that access the API CORS_ORIGIN_WHITELIST = ( - 'localhost', - 'localhost:8080' + 'http://localhost', + 'http://localhost:8080' ) -- GitLab