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 150b74a commit 9c46cceCopy full SHA for 9c46cce
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: ['X-LZ-AppVersion'],
+ allowHeaders: ['Authorization','X-LZ-AppVersion'],
42
allowMethods: ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
43
44
/* CORS-safelisted response headers:
0 commit comments