| import type { AppType } from "@midday/engine"; | |
| import { hc } from "hono/client"; | |
| export const client = hc<AppType>(`${process.env.ENGINE_API_URL}/`, { | |
| headers: { | |
| Authorization: `Bearer ${process.env.ENGINE_API_KEY}`, | |
| }, | |
| }); | |
| import type { AppType } from "@midday/engine"; | |
| import { hc } from "hono/client"; | |
| export const client = hc<AppType>(`${process.env.ENGINE_API_URL}/`, { | |
| headers: { | |
| Authorization: `Bearer ${process.env.ENGINE_API_KEY}`, | |
| }, | |
| }); | |