mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 07:26:19 +00:00
Replace production domain references with examples
This commit is contained in:
+1
-1
@@ -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': [
|
||||
|
||||
@@ -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 },
|
||||
|
||||
@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user