forked from MapComplete/MapComplete
Add explicit api_url to config and testserver-mode indication, add id rewrite when changes are applied to fix image upload on a new object, various formatting fixes; version bump
This commit is contained in:
parent
39376c0012
commit
a4db7178f4
16 changed files with 277 additions and 192 deletions
|
|
@ -179,7 +179,8 @@ export default class FeatureSwitchState extends OsmConnectionFeatureSwitches {
|
|||
let testingDefaultValue = false
|
||||
if (
|
||||
!Utils.runningFromConsole &&
|
||||
(location.hostname === "localhost" || location.hostname === "127.0.0.1")
|
||||
(location.hostname === "localhost" || location.hostname === "127.0.0.1") &&
|
||||
!Constants.osmAuthConfig.url.startsWith("https://master.apis.dev.openstreetmap.org")
|
||||
) {
|
||||
testingDefaultValue = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue