mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 23:16:21 +00:00
Move runtime URLs to config 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 || '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': [
|
||||
|
||||
Reference in New Issue
Block a user