15 lines
460 B
TypeScript
15 lines
460 B
TypeScript
import { ORCHESTRATION_PROTOCOL_HEADER } from "@t3tools/contracts";
|
|
|
|
export const browserApiCorsAllowedMethods = ["GET", "POST", "OPTIONS"] as const;
|
|
export const browserApiCorsAllowedHeaders = [
|
|
"authorization",
|
|
"b3",
|
|
"traceparent",
|
|
"content-type",
|
|
"dpop",
|
|
ORCHESTRATION_PROTOCOL_HEADER,
|
|
] as const;
|
|
|
|
/** Origins of the Electron renderer, packaged and dev. */
|
|
export const DESKTOP_RENDERER_ORIGINS = ["t3code://app", "t3code-dev://app"] as const;
|