diff --git a/backend/authentication/views.py b/backend/authentication/views.py index 8e8b129..cc47021 100644 --- a/backend/authentication/views.py +++ b/backend/authentication/views.py @@ -163,8 +163,8 @@ def github_login(request): if settings.DEMO_INSTANCE: REPLACEMENT_DOMAIN = settings.API_DOMAIN - - REPLACEMENT_DOMAIN += "/api" + else: + REPLACEMENT_DOMAIN += "/api" current_domain = request.get_host()