mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-22 10:46:19 +01:00
api/tunnel: add Content-Disposition
to exposed headers
This commit is contained in:
parent
806a644a40
commit
45e7b69937
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue