Skip to content

Commit 9c46cce

Browse files
committed
Capture web app version
1 parent 150b74a commit 9c46cce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/worker/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const app = new Hono<{ Bindings: Env }>();
3838
app.use("/api/*", (c, next) => {
3939
return cors({
4040
origin: c.env.LZ_ALLOWED_ORIGINS,
41-
allowHeaders: ['X-LZ-AppVersion'],
41+
allowHeaders: ['Authorization','X-LZ-AppVersion'],
4242
allowMethods: ['GET', 'HEAD', 'POST', 'PUT', 'DELETE', 'OPTIONS'],
4343

4444
/* CORS-safelisted response headers:

0 commit comments

Comments
 (0)