##// END OF EJS Templates
hgweb: evaluate the "default" value as template...
Yuya Nishihara -
r37038:16bbb154 default
parent child Browse files
Show More
@@ -386,7 +386,7 b' class hgweb(object):'
386 self.check_perm(rctx, req, None)
386 self.check_perm(rctx, req, None)
387
387
388 if cmd == '':
388 if cmd == '':
389 req.qsparams['cmd'] = rctx.tmpl.cache['default']
389 req.qsparams['cmd'] = rctx.tmpl.render('default', {})
390 cmd = req.qsparams['cmd']
390 cmd = req.qsparams['cmd']
391
391
392 # Don't enable caching if using a CSP nonce because then it wouldn't
392 # Don't enable caching if using a CSP nonce because then it wouldn't
General Comments 0
You need to be logged in to leave comments. Login now