forked from svrjs/svrjs
Convert "Host name rewritten" message to template string
This commit is contained in:
parent
8589f0a6e4
commit
0c286bda43
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ function requestHandler(req, res) {
|
||||||
logFacilities.reqmessage(`Client uses ${req.headers["user-agent"]}`);
|
logFacilities.reqmessage(`Client uses ${req.headers["user-agent"]}`);
|
||||||
if (oldHostHeader && oldHostHeader != req.headers.host)
|
if (oldHostHeader && oldHostHeader != req.headers.host)
|
||||||
logFacilities.resmessage(
|
logFacilities.resmessage(
|
||||||
"Host name rewritten: " + oldHostHeader + " => " + req.headers.host,
|
`Host name rewritten: ${oldHostHeader} => ${req.headers.host}`,
|
||||||
);
|
);
|
||||||
|
|
||||||
// Header and footer placeholders
|
// Header and footer placeholders
|
||||||
|
|
Reference in a new issue