|
@@ -27,7 +27,7 @@ async function createDispatcher(options={}){
|
|
// standard http-error-pages
|
|
// standard http-error-pages
|
|
html: function(){
|
|
html: function(){
|
|
res.type('.html');
|
|
res.type('.html');
|
|
- res.send(_render(resources.template, resources.stylesheet, opt.filter(templateVars)))
|
|
|
|
|
|
+ res.send(_render(resources.template, resources.stylesheet, opt.filter(templateVars, req)))
|
|
},
|
|
},
|
|
|
|
|
|
// json
|
|
// json
|