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

Commit

Permalink
Merge pull request #209 from Wikia/logger-fixes
Browse files Browse the repository at this point in the history
log x-original-host as host on server side
  • Loading branch information
bkoval authored Oct 30, 2017
2 parents 002361f + c2a4932 commit b537114
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions fastboot-server/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ const serializers = {
}
});

if (typeof req['x-original-host'] !== 'undefined') {
serializedReq.host = req['x-original-host'];
}

return serializedReq;
}
};
Expand Down

0 comments on commit b537114

Please sign in to comment.