Files
yaak/apps/yaak-client/lib/defaultHeaders.ts
2026-05-07 15:50:10 -07:00

9 lines
309 B
TypeScript

import type { HttpRequestHeader } from "@yaakapp-internal/models";
import { invokeCmd } from "./tauri";
/**
* Global default headers fetched from the backend.
* These are static and fetched once on module load.
*/
export const defaultHeaders: HttpRequestHeader[] = await invokeCmd("cmd_default_headers");