fix map loading after migration from openfreemap to custom map backend

This commit is contained in:
breakgimme 2025-08-09 17:17:51 +02:00
parent 428278f8af
commit 5b3160f144

View file

@ -99,7 +99,7 @@ inject(() => {
.catch(err => {
console.error(`%c${name}%c: Failed to parse JSON: `, consoleStyle, '', err);
});
} else if (contentType.includes('image/') && (!endpointName.includes('openfreemap'))) {
} else if (contentType.includes('image/') && (!endpointName.includes('openfreemap') && !endpointName.includes('maps'))) {
// Fetch custom for all images but opensourcemap
const blink = Date.now(); // Current time