| 1 | import { ORCHESTRATION_PROTOCOL_HEADER } from "@t3tools/contracts"; |
| 2 | |
| 3 | export const browserApiCorsAllowedMethods = ["GET", "POST", "OPTIONS"] as const; |
| 4 | export const browserApiCorsAllowedHeaders = [ |
| 5 | "authorization", |
| 6 | "b3", |
| 7 | "traceparent", |
| 8 | "content-type", |
| 9 | "dpop", |
| 10 | ORCHESTRATION_PROTOCOL_HEADER, |
| 11 | ] as const; |
| 12 | |
| 13 | /** Origins of the Electron renderer, packaged and dev. */ |
| 14 | export const DESKTOP_RENDERER_ORIGINS = ["t3code://app", "t3code-dev://app"] as const; |