mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-04 07:46:16 +02:00
fix(admin): base map assets download url
This commit is contained in:
parent
a95c2faf12
commit
2440d23986
|
|
@ -66,9 +66,8 @@ export class MapService implements IMapService {
|
||||||
|
|
||||||
const defaultTarFileURL = new URL(
|
const defaultTarFileURL = new URL(
|
||||||
this.baseAssetsTarFile,
|
this.baseAssetsTarFile,
|
||||||
'https://github.com/Crosstalk-Solutions/project-nomad-maps/blob/master'
|
'https://github.com/Crosstalk-Solutions/project-nomad-maps/raw/refs/heads/master/'
|
||||||
)
|
)
|
||||||
defaultTarFileURL.searchParams.append('raw', 'true')
|
|
||||||
|
|
||||||
const resolvedURL = url ? new URL(url) : defaultTarFileURL
|
const resolvedURL = url ? new URL(url) : defaultTarFileURL
|
||||||
await doResumableDownloadWithRetry({
|
await doResumableDownloadWithRetry({
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user