Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Commit

Permalink
tst
Browse files Browse the repository at this point in the history
  • Loading branch information
MyBooty165 authored Mar 19, 2024
1 parent 69157ec commit 711c827
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ const proxy = createProxyMiddleware({
secure: true,
logLevel: 'debug',
router: function(req) {
if (req.headers.host === 'mathsspot.com') {
req.headers['X-Forwarded-For'] = '';
req.headers['X-Real-IP'] = '';
req.headers['Via'] = '';
}
return nggUrl;
}
});
Expand Down

0 comments on commit 711c827

Please sign in to comment.