From f0426f5208e1a3ca3264f7940e4d4edaf072d3fa Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 9 Jan 2018 22:06:54 -1000 Subject: Add hint parameters for 'created' links --- lib/serve.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/serve.js b/lib/serve.js index 793ad84..e8a8c91 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -1808,6 +1808,8 @@ Serve.prototype.gitCommit = function (rev) { self.app.render.toUrl('/git/blob/' + (file.hash[1] || file.hash[0]) + '?msg=' + encodeURIComponent(msg.key)) + + '&commit=' + rev + + '&path=' + encodeURIComponent(file.name) }, 'created') : file.hash ? ph('a', {href: -- cgit v1.2.3