Skip to content
Myr

misc refactor

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 0cbb1f6 · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:lib/response.js+1 added-3 removed
358 unmodified lines
359360 // Relative361 if (!~url.indexOf('://')) {362 // Respect mount-point363 if (app.route) {364 url = join(app.route, url);365 }363 if (app.route) url = join(app.route, url);364365 // Absolute366 var host = req.headers.host367 , tls = req.connection.encrypted;
55 unmodified lines