Fix: tests

This commit is contained in:
Pieter Vander Vennet 2025-02-05 18:34:42 +01:00
parent dfa21c8b2a
commit a1730a3ad7

View file

@ -182,7 +182,7 @@ export default class FeatureSwitchState extends OsmConnectionFeatureSwitches {
let testingDefaultValue = false let testingDefaultValue = false
if ( 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 testingDefaultValue = true
} }