Skip to content

Commit e09d3b1

Browse files
add TLS SNI (server name indicator) to the output
1 parent 5c77bf2 commit e09d3b1

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)