diff --git a/backend/authentication/views.py b/backend/authentication/views.py index 389c151..8e8b129 100644 --- a/backend/authentication/views.py +++ b/backend/authentication/views.py @@ -164,7 +164,7 @@ def github_login(request): if settings.DEMO_INSTANCE: REPLACEMENT_DOMAIN = settings.API_DOMAIN - # REPLACEMENT_DOMAIN += "/api + REPLACEMENT_DOMAIN += "/api" current_domain = request.get_host() diff --git a/backend/backend/settings.py b/backend/backend/settings.py index b0eb7f1..8cc770b 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -166,11 +166,10 @@ API_URL = f"http://{API_DOMAIN}/" -FRONTEND_URL_MAIN = "https://thirdeyelabs.xyz/" -FRONTEND_URL_IPFS = "https://ipfs.thirdeyelabs.xyz/" +FRONTEND_URL_MAIN = "https://demo.thirdeyelabs.xyz/" FRONTEND_URL = ( - FRONTEND_URL_IPFS + FRONTEND_URL_MAIN if DEMO_INSTANCE else os.environ.get("FRONTEND_URL", "http://localhost:3000/") )