Replace production domain references with examples

This commit is contained in:
Lorenzune
2026-04-24 15:59:55 +02:00
parent 42731218f8
commit 21dd357397
10 changed files with 62 additions and 62 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const cacheBustUrl = (path: string): string =>
return url.toString();
};
(window as any).NitroSecureApiUrl = clientMode.apiBaseUrl || 'http://192.168.1.52:2096/';
(window as any).NitroSecureApiUrl = clientMode.apiBaseUrl || 'https://nitro.example.com:2096/';
(window as any).NitroClientMode = clientMode;
(window as any).NitroConfig = {
'config.urls': [
+4 -4
View File
@@ -61,11 +61,11 @@ const MAX_ATTEMPTS = 5;
const LOCK_WINDOW_MS = 60_000;
const LOCK_DURATION_MS = 2 * 60_000;
const DEFAULT_LOGIN_IMAGES: Record<string, string> = {
background: 'https://hotel.slogga.it/client/nitro/images/reception/background_gradient_apr25.png',
background: 'https://hotel.example.com/client/nitro/images/reception/background_gradient_apr25.png',
'background.colour': '#6eadc8',
drape: 'https://hotel.slogga.it/client/nitro/images/reception/drape.png',
left: 'https://hotel.slogga.it/client/nitro/images/reception/mute_reception_backdrop_left.png',
right: 'https://hotel.slogga.it/client/nitro/images/reception/background_right.png'
drape: 'https://hotel.example.com/client/nitro/images/reception/drape.png',
left: 'https://hotel.example.com/client/nitro/images/reception/mute_reception_backdrop_left.png',
right: 'https://hotel.example.com/client/nitro/images/reception/background_right.png'
};
const LOGIN_LOCALES: LoginLocale[] = [
{ code: 'it', file: 'it', label: 'Italiano', flag: flagIt },
+1 -1
View File
@@ -194,7 +194,7 @@ const getApiBase = (): string =>
if(typeof configured === 'string' && configured.length) return configured.replace(/\/$/, '');
return 'http://localhost:8443/';
return 'https://nitro.example.com:2096/';
};
const getPlainAssetBase = (kind: 'config' | 'gamedata'): string =>