From d874fdecaba6f9e9af2927ae69bb250d73ff2c1c Mon Sep 17 00:00:00 2001 From: Prometheus Date: Mon, 16 Sep 2024 20:59:53 +0100 Subject: [PATCH 1/2] whitelist bos local --- base/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/settings.py b/base/settings.py index 6a58ec5..84f694b 100644 --- a/base/settings.py +++ b/base/settings.py @@ -167,6 +167,7 @@ if ENVIRONMENT == "testnet": CORS_ALLOWED_ORIGINS = [ "http://localhost:3000", + "http://127.0.0.1:8080", "https://test.potlock.org", "https://test.potlock.xyz", "https://test.potlock.io", @@ -179,6 +180,7 @@ else: CORS_ALLOWED_ORIGINS = [ "http://localhost:3000", + "http://127.0.0.1:8080", "https://alpha.potlock.io", "https://alpha.potlock.org", "https://alpha.potlock.xyz", From d221a345602a7765f1bda73b94960303116268c7 Mon Sep 17 00:00:00 2001 From: Prometheus Date: Wed, 18 Sep 2024 12:12:33 +0100 Subject: [PATCH 2/2] add bos to cors --- base/settings.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/base/settings.py b/base/settings.py index 84f694b..79c12fe 100644 --- a/base/settings.py +++ b/base/settings.py @@ -194,7 +194,15 @@ "https://landing.potlock.org", "https://landing.potlock.io", "https://landing.potlock.app", - "https://landing.potlock.xyz" + "https://landing.potlock.xyz", + "https://bos.potlock.org", + "https://app.potlock.org", + "https://bos.potlock.xyz", + "https://app.potlock.xyz", + "https://bos.potlock.io", + "https://app.potlock.io", + "https://bos.potlock.app", + "https://app.potlock.app" ] CORS_ALLOWED_ORIGIN_REGEXES = [