Merge branch 'master' of bitbucket.org:daplie/walnut

This commit is contained in:
AJ ONeal 2015-03-02 21:31:59 +00:00
commit 413135725c
1 changed files with 8 additions and 1 deletions

View File

@ -142,12 +142,19 @@ module.exports.create = function (securePort, certsPath, vhostsdir) {
+ "<body>" + "<body>"
+ "Cannot " + "Cannot "
+ req.method + req.method
+ " '" + " 'https://"
+ domaininfo.hostname + domaininfo.hostname
+ '/' + '/'
+ (domaininfo.pathname ? (domaininfo.pathname + '/') : '') + (domaininfo.pathname ? (domaininfo.pathname + '/') : '')
+ req.url.replace(/^\//, '') + req.url.replace(/^\//, '')
+ "'" + "'"
+ "<br/>"
+ "<br/>"
+ "Domain: " + domaininfo.hostname
+ "<br/>"
+ "App: " + domaininfo.pathname
+ "<br/>"
+ "Route : " + req.url
+ "</body>" + "</body>"
+ "</html>" + "</html>"
); );