From d2f6706a37d391479566ef0a2e40a486e4b5e6d1 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Mon, 13 Apr 2020 07:06:51 +0900 Subject: [PATCH] Add CORS whitelist --- app/app/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app/settings.py b/app/app/settings.py index b55abca0..56307df5 100644 --- a/app/app/settings.py +++ b/app/app/settings.py @@ -314,4 +314,5 @@ if DEBUG: CORS_ORIGIN_WHITELIST = ( 'http://127.0.0.1:3000', 'http://0.0.0.0:3000', + 'http://localhost:3000' )