From f19d9ac9d464c98ea2b37e5dee485efd1eb57ea3 Mon Sep 17 00:00:00 2001 From: Morten Delenk Date: Sun, 28 Aug 2022 15:07:38 +0100 Subject: [PATCH] fix url --- map-desktop/src/api/listItems.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/map-desktop/src/api/listItems.ts b/map-desktop/src/api/listItems.ts index e045c69..bffa02e 100644 --- a/map-desktop/src/api/listItems.ts +++ b/map-desktop/src/api/listItems.ts @@ -89,7 +89,7 @@ class TrackedItemCursor { } async function fetchPage(lastId: string | null): Promise { - const url = "https://invtracker.chir.rs/" + (lastId === null ? '/objects' : `/objects?start=${lastId}`); + const url = "https://invtracker.chir.rs" + (lastId === null ? '/objects' : `/objects?start=${lastId}`); const response = await fetch(url, { method: 'GET', headers: {