Skip to content

Commit 217e8e3

Browse files
authored
Merge pull request #1100 from csarven/release/v5.0.0
Proxy updates
2 parents cdfba2d + b8a1e02 commit 217e8e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/handlers/cors-proxy.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const validUrl = require('valid-url')
1111

1212
const CORS_SETTINGS = {
1313
methods: 'GET',
14-
exposedHeaders: 'Authorization, User, Location, Link, Vary, Last-Modified, Content-Length',
14+
exposedHeaders: 'Authorization, User, Location, Link, Vary, Last-Modified, Content-Length, Content-Location',
1515
maxAge: 1728000,
1616
origin: true
1717
}
@@ -20,7 +20,7 @@ const PROXY_SETTINGS = {
2020
logLevel: 'silent',
2121
changeOrigin: true,
2222
followRedirects: true,
23-
proxyTimeout: 5000,
23+
proxyTimeout: 10000,
2424
router: req => req.destination.target,
2525
pathRewrite: (path, req) => req.destination.path
2626
}

0 commit comments

Comments
 (0)