umbrella-context 0.1.39 → 0.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/commands/setup.js
CHANGED
|
@@ -25,7 +25,7 @@ function detectMixedSavedConnection(umbrellaUrl, serverUrl) {
|
|
|
25
25
|
const backend = new URL(serverUrl);
|
|
26
26
|
const umbrellaIsLoopback = isLocalOnlyServerUrl(umbrellaUrl);
|
|
27
27
|
const backendIsLoopback = isLocalOnlyServerUrl(serverUrl);
|
|
28
|
-
const differentHosts = umbrella.hostname !== backend.hostname
|
|
28
|
+
const differentHosts = umbrella.hostname !== backend.hostname;
|
|
29
29
|
if (!differentHosts && umbrellaIsLoopback === backendIsLoopback) {
|
|
30
30
|
return null;
|
|
31
31
|
}
|
package/dist/commands/status.js
CHANGED
|
@@ -27,7 +27,7 @@ export function buildConnectionPresentation(config, authSnapshot = getStoredUmbr
|
|
|
27
27
|
const backend = new URL(config.serverUrl);
|
|
28
28
|
const umbrellaIsLoopback = ["127.0.0.1", "localhost"].includes(umbrella.hostname.toLowerCase());
|
|
29
29
|
const backendIsLoopback = ["127.0.0.1", "localhost"].includes(backend.hostname.toLowerCase());
|
|
30
|
-
if (umbrella.hostname !== backend.hostname
|
|
30
|
+
if (umbrella.hostname !== backend.hostname) {
|
|
31
31
|
warnings.push(`The saved Umbrella app URL (${config.umbrellaUrl}) and Context backend URL (${config.serverUrl}) point to different places.`);
|
|
32
32
|
}
|
|
33
33
|
if (umbrellaIsLoopback !== backendIsLoopback) {
|
package/package.json
CHANGED