Skip to content

Commit d732add

Browse files
committed
update headers
1 parent c66ea18 commit d732add

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

packages/fnd-server/src/index.ts

+17-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,23 @@ const corsOptions = {
4040
// origin: ["https://localhost:3000", /\.tor\.us$/],
4141
origin: true,
4242
credentials: true,
43-
allowedHeaders: ["Content-Type", "x-api-key", "x-embed-host", "sentry-trace", "baggage", "x-web3-correlation-id"],
43+
allowedHeaders: [
44+
"Content-Type",
45+
"x-api-key",
46+
"x-embed-host",
47+
"sentry-trace",
48+
"baggage",
49+
"x-web3-correlation-id",
50+
"pubkeyx",
51+
"pubkeyy",
52+
"verifier",
53+
"verifier_id",
54+
"verifierId",
55+
"clientId",
56+
"network",
57+
"enable_gating",
58+
"enableGating",
59+
],
4460
methods: "GET,PUT,PATCH,POST,DELETE",
4561
maxAge: 86400,
4662
};

0 commit comments

Comments
 (0)