UI - МЕЖПРОЕКТНАЯ КОММУНИКАЦИЯ: унификация верхней шапки NodeDC

This commit is contained in:
DCCONSTRUCTIONS
2026-05-05 15:00:53 +03:00
parent 4400b7f438
commit a111574039
4 changed files with 80 additions and 21 deletions
@@ -33,6 +33,10 @@ export function buildNodeDCLauncherUrl(): string {
return process.env.VITE_NODEDC_LAUNCHER_URL || "http://launcher.local.nodedc/";
}
export function buildNodeDCBrandConfigUrl(): string {
return new URL("/api/public/brand", buildNodeDCLauncherUrl()).toString();
}
export function getCurrentRelativePath(): string {
if (typeof window === "undefined") {
return "/";