mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-29 08:42:08 -05:00
9 lines
309 B
TypeScript
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');
|