closer
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
import { type Api } from "../../server/src/api";
|
||||
import { treaty } from "@elysiajs/eden";
|
||||
|
||||
const { api } = treaty<Api>("http://localhost:5001");
|
||||
const { api } = treaty<Api>("http://localhost:5001", {
|
||||
headers: {
|
||||
human: "daniel",
|
||||
},
|
||||
});
|
||||
export default api;
|
||||
|
||||
Reference in New Issue
Block a user