mirror of
https://github.com/henrygd/beszel.git
synced 2026-09-30 21:37:47 +02:00
refactor(site): use globalThis to access BESZEL for base path
This commit is contained in:
@@ -15,7 +15,7 @@ const routes = {
|
|||||||
* The base path of the application.
|
* The base path of the application.
|
||||||
* This is used to prepend the base path to all routes.
|
* 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.
|
* Prepends the base path to the given path.
|
||||||
|
|||||||
Reference in New Issue
Block a user