From a1730a3ad71e3992d287c74cfba32995fafb81a2 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 5 Feb 2025 18:34:42 +0100 Subject: [PATCH] Fix: tests --- src/Logic/State/FeatureSwitchState.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Logic/State/FeatureSwitchState.ts b/src/Logic/State/FeatureSwitchState.ts index d364d7df4a..1fbbaf9e77 100644 --- a/src/Logic/State/FeatureSwitchState.ts +++ b/src/Logic/State/FeatureSwitchState.ts @@ -182,7 +182,7 @@ export default class FeatureSwitchState extends OsmConnectionFeatureSwitches { let testingDefaultValue = false if ( - !Constants.osmAuthConfig.url.startsWith("https://master.apis.dev.openstreetmap.org") && (location.hostname === "127.0.0.1") && !Utils.runningFromConsole + !Constants.osmAuthConfig.url.startsWith("https://master.apis.dev.openstreetmap.org") && !Utils.runningFromConsole && location.hostname === "127.0.0.1" ) { testingDefaultValue = true }