diff options
feat: tmp js
-rw-r--r-- | cgit.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -0,0 +1,4 @@ +// To use this, add this to /var/lib/git/static/cgit.js and set js=/cgit.js in your cgitrc. +if ((/\/[^/]+\.git\/tree\/.*/iu).test(location.pathname)) { + console.log('tree') +}
\ No newline at end of file |