mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-24 18:46:40 +07:00
fixed errors
This commit is contained in:
parent
6880d155ed
commit
ef92e4f38c
1 changed files with 1 additions and 1 deletions
|
@ -96,5 +96,5 @@ export const replaceProviderUrl = (provider, { x, y, zoom }: { x: number, y: num
|
|||
? range[Math.round((Math.random() * (range.length - 1)))]
|
||||
: 1;
|
||||
|
||||
return url.replace('{x}', x).replace('{y}', y).replace('{z}', zoom).replace('{s}', String(random));
|
||||
return url.replace('{x}', String(x)).replace('{y}', String(y)).replace('{z}', String(zoom)).replace('{s}', String(random));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue