Skip to content

Commit

Permalink
api/tunnel: add Content-Disposition to exposed headers
Browse files Browse the repository at this point in the history
  • Loading branch information
dumbmoron committed Dec 25, 2024
1 parent 806a644 commit 45e7b69
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/core/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ export const runAPI = async (express, app, __dirname, isPrimary = true) => {
app.use('/tunnel', cors({
methods: ['GET'],
exposedHeaders: [
'Estimated-Content-Length'
'Estimated-Content-Length',
'Content-Disposition'
],
...corsConfig,
}));
Expand Down

0 comments on commit 45e7b69

Please sign in to comment.