Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

httpCors.ts

11 lines313 Bytes

1import { ORCHESTRATION_PROTOCOL_HEADER } from "@t3tools/contracts";
2​
3export const browserApiCorsAllowedMethods = ["GET", "POST", "OPTIONS"] as const;
4export const browserApiCorsAllowedHeaders = [
5 "authorization",
6 "b3",
7 "traceparent",
8 "content-type",
9 "dpop",
10 ORCHESTRATION_PROTOCOL_HEADER,
11] as const;