Fix tRPC URL

This commit is contained in:
Hri7566 2024-07-07 09:21:54 -04:00
parent 9ece949220
commit 5cc71cfdbb
1 changed files with 2 additions and 2 deletions

View File

@ -6,14 +6,14 @@ import type { AppRouter } from "@server/api/trpc";
export function gettRPC(token: string) {
return createTRPCClient<AppRouter>({
links: [
httpBatchLink({
/*httpBatchLink({
url: "http://localhost:3000",
headers() {
return {
Authorization: token
};
}
}),
}),*/
httpBatchLink({
url: "https://fishing.hri7566.info/api",
headers() {