From fb4e93f09811f7efc442c4a1218736287767aa4a Mon Sep 17 00:00:00 2001 From: henrygd Date: Sat, 26 Sep 2026 12:26:39 -0400 Subject: [PATCH] refactor(site): use globalThis to access BESZEL for base path --- internal/site/src/components/router.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/site/src/components/router.tsx b/internal/site/src/components/router.tsx index 5c54f613..93808c04 100644 --- a/internal/site/src/components/router.tsx +++ b/internal/site/src/components/router.tsx @@ -15,7 +15,7 @@ const routes = { * The base path of the application. * This is used to prepend the base path to all routes. */ -export const basePath = BESZEL?.BASE_PATH || "" +export const basePath = globalThis.BESZEL?.BASE_PATH || "" /** * Prepends the base path to the given path.