mirror of
https://github.com/imputnet/cobalt.git
synced 2025-02-05 13:08:40 +00:00
api/tunnel: add Content-Disposition
to exposed headers
Some checks failed
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
Some checks failed
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
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({
|
app.use('/tunnel', cors({
|
||||||
methods: ['GET'],
|
methods: ['GET'],
|
||||||
exposedHeaders: [
|
exposedHeaders: [
|
||||||
'Estimated-Content-Length'
|
'Estimated-Content-Length',
|
||||||
|
'Content-Disposition'
|
||||||
],
|
],
|
||||||
...corsConfig,
|
...corsConfig,
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue