From e1452b8c5f4df52aca03e4e84300ae5169d03e0f Mon Sep 17 00:00:00 2001 From: Anna Grund Date: Mon, 10 Jul 2023 20:40:28 +0300 Subject: [PATCH] [AJP-2] Add allowed hosts --- ajapaik/settings/default.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ajapaik/settings/default.py b/ajapaik/settings/default.py index 03471ba60..68d97f9ac 100644 --- a/ajapaik/settings/default.py +++ b/ajapaik/settings/default.py @@ -211,7 +211,7 @@ ) # Note: Allauth login's next-parameter redirection doesn't understand wildcards in ALLOWED_HOSTS. -ALLOWED_HOSTS = ['.ajapaik.ee', '127.0.0.1'] +ALLOWED_HOSTS = ['.ajapaik.ee', '127.0.0.1', '0.0.0.0'] # Allow CORS from localhost for developing CORS_ALLOWED_ORIGIN_REGEXES = [