Skip to content

Commit 879a799

Browse files
authored
Merge pull request mendhak#2 from MarcinFalkowski/SNI-servername-in-output
add TLS SNI (server name indicator) to the output
2 parents 5c77bf2 + e09d3b1 commit 879a799

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ app.all('*', (req, res) => {
3535
xhr: req.xhr,
3636
os: {
3737
hostname: os.hostname()
38+
},
39+
connection: {
40+
servername: req.connection.servername
3841
}
3942
};
4043
if (process.env.JWT_HEADER) {

0 commit comments

Comments
 (0)