From 0ef33ccd44d7a75b6a1c92f1acf7fe7ac38fc470 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Wed, 20 Dec 2023 17:27:37 +0100 Subject: [PATCH] Fix workers test page not using the actual proxy workers --- src/pages/parts/admin/WorkerTestPart.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/parts/admin/WorkerTestPart.tsx b/src/pages/parts/admin/WorkerTestPart.tsx index 88230f11..8fef5fb7 100644 --- a/src/pages/parts/admin/WorkerTestPart.tsx +++ b/src/pages/parts/admin/WorkerTestPart.tsx @@ -8,7 +8,7 @@ import { Icon, Icons } from "@/components/Icon"; import { Box } from "@/components/layout/Box"; import { Divider } from "@/components/utils/Divider"; import { Heading2 } from "@/components/utils/Text"; -import { conf } from "@/setup/config"; +import { getProxyUrls } from "@/utils/proxyUrls"; export function WorkerItem(props: { name: string; @@ -43,7 +43,7 @@ export function WorkerItem(props: { export function WorkerTestPart() { const workerList = useMemo(() => { - return conf().PROXY_URLS.map((v, ind) => ({ + return getProxyUrls().map((v, ind) => ({ id: ind.toString(), url: v, }));