Attempt to reconnect automatically if the API was offline

This commit is contained in:
Pieter Vander Vennet 2024-04-01 02:55:48 +02:00
parent 45f7043131
commit 9cd0233f27
2 changed files with 46 additions and 23 deletions

View file

@ -42,7 +42,7 @@
)
let osmConnection = new OsmConnection({
oauth_token,
checkOnlineRegularly: false
checkOnlineRegularly: true
})
const expertMode = UIEventSource.asBoolean(
osmConnection.GetPreference("studio-expert-mode", "false", {