From 5cc71cfdbbffcac6685cd67e409f1ac8e0d48d4b Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Sun, 7 Jul 2024 09:21:54 -0400 Subject: [PATCH] Fix tRPC URL --- src/util/api/trpc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/api/trpc.ts b/src/util/api/trpc.ts index 2b7ea2e..d1b8e81 100644 --- a/src/util/api/trpc.ts +++ b/src/util/api/trpc.ts @@ -6,14 +6,14 @@ import type { AppRouter } from "@server/api/trpc"; export function gettRPC(token: string) { return createTRPCClient({ links: [ - httpBatchLink({ + /*httpBatchLink({ url: "http://localhost:3000", headers() { return { Authorization: token }; } - }), + }),*/ httpBatchLink({ url: "https://fishing.hri7566.info/api", headers() {