From 3ab60a48040bb1a84356536639a2307100d5ff77 Mon Sep 17 00:00:00 2001 From: Alexander Mart Date: Fri, 25 Jul 2025 03:31:59 +0700 Subject: [PATCH] draft --- src/shared/django-helpers.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/shared/django-helpers.tsx b/src/shared/django-helpers.tsx index 1a538684..181f25b8 100644 --- a/src/shared/django-helpers.tsx +++ b/src/shared/django-helpers.tsx @@ -12,7 +12,8 @@ import * as React from "react"; import { Link } from "../components/link"; -export const djangoBaseUrl = process.env.NEXT_PUBLIC_DJANGO_BASE_URL ?? ""; +// export const djangoBaseUrl = process.env.NEXT_PUBLIC_DJANGO_BASE_URL ?? ""; +export const djangoBaseUrl = window.location.origin ?? ""; export const djangoContentFallback = process.env.NEXT_PUBLIC_DJANGO_CONTENT_FALLBACK === "true";