From 3f161913376b6fd932a4b84d0735ed546bf59b31 Mon Sep 17 00:00:00 2001 From: Ike Saunders Date: Thu, 8 Feb 2024 17:18:20 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20use=20absolute=20URL=20instead?= =?UTF-8?q?=20of=20relative=20for=20allExplorers.json=20fetch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- explorerAdminClient/ExplorersListPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/explorerAdminClient/ExplorersListPage.tsx b/explorerAdminClient/ExplorersListPage.tsx index 24c94db557a..7f57d713833 100644 --- a/explorerAdminClient/ExplorersListPage.tsx +++ b/explorerAdminClient/ExplorersListPage.tsx @@ -283,7 +283,7 @@ export class ExplorersIndexPage extends React.Component<{ private async fetchAllExplorers() { const { searchInput } = this - const response = await fetch(GetAllExplorersRoute) + const response = await fetch(`/admin/${GetAllExplorersRoute}`) const json = (await response.json()) as ExplorersRouteResponse if (!json.success) alert(JSON.stringify(json.errorMessage)) this.needsPull = json.needsPull