mirror of
https://github.com/SwingTheVine/Wplace-BlueMarble.git
synced 2026-04-21 15:21:58 +00:00
Merge pull request #64 from breakgimme/map-fix
fix map loading after migration from openfreemap to custom map backend
This commit is contained in:
commit
906d410578
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ inject(() => {
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.error(`%c${name}%c: Failed to parse JSON: `, consoleStyle, '', 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
|
// Fetch custom for all images but opensourcemap
|
||||||
|
|
||||||
const blink = Date.now(); // Current time
|
const blink = Date.now(); // Current time
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue