b4fd4ee8e6
Co-authored-by: Copilot <copilot@github.com>
4 lines
195 B
TypeScript
4 lines
195 B
TypeScript
import { treaty } from "@elysiajs/eden";
|
|
import type { App } from "@turborepo-starter-project/server";
|
|
|
|
export const api = treaty<App>(process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000"); |