Skip to content

Commit 9f61269

Browse files
author
Bryan Kendall
committed
add hsts to ignore from github res
1 parent bfa76d8 commit 9f61269

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/routes/github/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@ var corsHeaders = [
2626
'access-control-allow-credentials',
2727
'access-control-allow-headers',
2828
'access-control-expose-headers',
29-
'access-control-max-age'
29+
'access-control-max-age',
30+
'strict-transport-security'
3031
];
3132
var cacheOmitHeaders = [
3233
'date',
3334
'x-ratelimit-reset',
34-
'x-served-by',
35+
'x-served-by'
3536
].concat(corsHeaders);
3637

3738
var proxy = httpProxy.createProxy({

0 commit comments

Comments
 (0)