itpdp/web/src/lib/eden.ts
Daniel Bulant bfeb44a625
update
2026-05-16 13:15:40 +02:00

8 lines
271 B
TypeScript

import { treaty } from "@elysiajs/eden";
import type { App } from "../../../api/src/index";
export const client = treaty<App>("aura.rpi1.danbulant.cloud", {});
// export const client = treaty<App>(
// process.env.VITE_BETTER_AUTH_URL || "127.0.0.1:3000",
// {},
// );