Skip to content

Commit b8a1e02

Browse files
committed
Add Content-Location header to Access-Control-Expose-Headers in CORS proxy
1 parent 29cb0f9 commit b8a1e02

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/handlers/cors-proxy.js

Lines changed: 1 addition & 1 deletion
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
}

0 commit comments

Comments
 (0)