changed ts to js

This commit is contained in:
2024-04-19 20:21:02 +07:00
parent 5ba63b0869
commit 054c4f0ea8
3 changed files with 7 additions and 4 deletions

View File

@@ -1,10 +1,10 @@
import {} from "@trpc/client";
import { httpBatchLink, createTRPCProxyClient } from "@trpc/client";
import { CONFIG } from "@/config";
export const client = createTRPCProxyClient({
links: [
httpBatchLink({
url: "http://localhost:3000",
url: CONFIG.api_url,
}),
],
});