Refactoring: use variable instead of hardcoded URL

This commit is contained in:
Pieter Vander Vennet 2023-10-05 22:43:26 +02:00
parent 2f90e9f74a
commit a83499614d

View file

@ -969,7 +969,7 @@ export default class SpecialVisualizations {
} }
let challenge = Stores.FromPromise( let challenge = Stores.FromPromise(
Utils.downloadJsonCached( Utils.downloadJsonCached(
`https://maproulette.org/api/v2/challenge/${parentId}`, `${Maproulette.defaultEndpoint}/challenge/${parentId}`,
24 * 60 * 60 * 1000 24 * 60 * 60 * 1000
) )
) )