We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 023fa4f commit 635b163Copy full SHA for 635b163
src/worker/index.ts
@@ -38,7 +38,7 @@ const app = new Hono<{ Bindings: Env }>();
38
app.use("/api/*", (c, next) => {
39
return cors({
40
origin: c.env.LZ_ALLOWED_ORIGINS,
41
- allowHeaders: ['Authorization','X-LZ-AppVersion'],
+ allowHeaders: [],
42
allowMethods: ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
43
44
/* CORS-safelisted response headers:
0 commit comments