From f1602461f7d9121dd8162bc1a227b446907ea373 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Tue, 5 Mar 2024 18:55:49 -0500 Subject: [PATCH] Change tRPC client link --- src/util/api/trpc.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/util/api/trpc.ts b/src/util/api/trpc.ts index 54452d3..1f7f228 100644 --- a/src/util/api/trpc.ts +++ b/src/util/api/trpc.ts @@ -5,14 +5,14 @@ const apiToken = process.env.FISHING_TOKEN as string; export const trpc = createTRPCClient({ links: [ - httpBatchLink({ - url: "http://localhost:3000", - headers() { - return { - Authorization: apiToken - }; - } - }), + // httpBatchLink({ + // url: "http://localhost:3000", + // headers() { + // return { + // Authorization: apiToken + // }; + // } + // }), httpBatchLink({ url: "https://fishing.hri7566.info/api", headers() {