forked from MapComplete/MapComplete
Refactoring: use variable instead of hardcoded URL
This commit is contained in:
parent
2f90e9f74a
commit
a83499614d
1 changed files with 1 additions and 1 deletions
|
@ -969,7 +969,7 @@ export default class SpecialVisualizations {
|
|||
}
|
||||
let challenge = Stores.FromPromise(
|
||||
Utils.downloadJsonCached(
|
||||
`https://maproulette.org/api/v2/challenge/${parentId}`,
|
||||
`${Maproulette.defaultEndpoint}/challenge/${parentId}`,
|
||||
24 * 60 * 60 * 1000
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue