elysia is the truth
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { hc } from "hono/client";
|
||||
import { type ApiType } from "../../server/src/api";
|
||||
import { type Api } from "../../server/src/api";
|
||||
import { treaty } from "@elysiajs/eden";
|
||||
|
||||
export default hc<ApiType>("http://localhost:5001/api");
|
||||
const { api } = treaty<Api>("http://localhost:5001");
|
||||
export default api;
|
||||
|
||||
Reference in New Issue
Block a user