Move runtime URLs to config examples

This commit is contained in:
Lorenzune
2026-04-24 16:12:04 +02:00
parent 21dd357397
commit 6c7d78c156
10 changed files with 81 additions and 648 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const cacheBustUrl = (path: string): string =>
return url.toString();
};
(window as any).NitroSecureApiUrl = clientMode.apiBaseUrl || 'https://nitro.example.com:2096/';
(window as any).NitroSecureApiUrl = clientMode.apiBaseUrl || window.location.origin;
(window as any).NitroClientMode = clientMode;
(window as any).NitroConfig = {
'config.urls': [