mirror of
https://github.com/eliasstepanik/core.git
synced 2026-01-10 08:48:29 +00:00
11 lines
254 B
TypeScript
11 lines
254 B
TypeScript
// Use a global variable to store the base path
|
|
let globalBasePath: string = "http://localhost:3000";
|
|
|
|
export function setGlobalBasePath(basePath: string) {
|
|
globalBasePath = basePath;
|
|
}
|
|
|
|
export function getGlobalBasePath() {
|
|
return globalBasePath;
|
|
}
|