api/tunnel: add Content-Disposition to exposed headers

This commit is contained in:
jj 2024-12-25 20:05:18 +00:00
parent 806a644a40
commit 45e7b69937
No known key found for this signature in database

View file

@ -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,
}));