mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-28 12:30:12 +02:00
api/tunnel: add Content-Disposition
to exposed headers
This commit is contained in:
parent
806a644a40
commit
45e7b69937
@ -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,
|
||||
}));
|
||||
|
Loading…
x
Reference in New Issue
Block a user