Clean up the repository
This commit is contained in:
parent
666b2d0e0d
commit
85da5b630f
15 changed files with 7 additions and 50 deletions
4
lib/api/client.ts
Normal file
4
lib/api/client.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import { treaty } from "@elysia/eden";
|
||||
import type { app } from "@/server";
|
||||
|
||||
export const api = treaty<typeof app>("localhost:3000").api;
|
||||
4
lib/api/server.ts
Normal file
4
lib/api/server.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import { treaty } from "@elysia/eden";
|
||||
import { app } from "@/server";
|
||||
|
||||
export const api = treaty(app).api;
|
||||
Loading…
Add table
Add a link
Reference in a new issue