Merge develop

This commit is contained in:
Pieter Vander Vennet 2025-01-22 18:22:49 +01:00
commit f19e94b523
4 changed files with 6 additions and 2 deletions

View file

@ -640,6 +640,10 @@ export class OsmConnection {
this.fetchCapabilities().then(({ api, gpx }) => {
this.apiIsOnline.setData(api)
this.gpxServiceIsOnline.setData(gpx)
}).catch(err => {
console.log("Could not reach the api:", err)
this.apiIsOnline.set("unreachable")
this.gpxServiceIsOnline.set("unreachable")
})
}

View file

@ -419,6 +419,7 @@ export default class UserRelatedState {
if(!Utils.runningFromConsole){
amendedPrefs.data["_host"] = window.location.host
amendedPrefs.data["_path"] = window.location.pathname
amendedPrefs.data["_userAgent"] = navigator.userAgent
}
for (const key in Constants.userJourney) {