Skip to content

Commit 3ae5416

Browse files
lefuturistepi0
authored andcommitted
fix(defaults): ignore cf-ray and cf-connecting-ip headers on server side (#20) (#175)
1 parent c84fb56 commit 3ae5416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ module.exports = function nuxtAxios (_moduleOptions) {
4040
debug: false,
4141
progress: true,
4242
proxyHeaders: true,
43-
proxyHeadersIgnore: ['accept', 'host'],
43+
proxyHeadersIgnore: ['accept', 'host', 'cf-ray', 'cf-connecting-ip'],
4444
proxy: false,
4545
retry: false,
4646
https: false

0 commit comments

Comments
 (0)