snapshot of https://github.com/mountain-loop/yaak.git (main, 2026-09-23; blobs > 131072B omitted)
This commit is contained in:
8
apps/yaak-client/lib/defaultHeaders.ts
Normal file
8
apps/yaak-client/lib/defaultHeaders.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import type { HttpRequestHeader } from "@yaakapp-internal/models";
|
||||
import { rpc } from "./rpc";
|
||||
|
||||
/**
|
||||
* Global default headers fetched from the backend.
|
||||
* These are static and fetched once on module load.
|
||||
*/
|
||||
export const defaultHeaders: HttpRequestHeader[] = await rpc("cmd_default_headers");
|
||||
Reference in New Issue
Block a user