config: add js

Just like the config allows setting css URL path, add a config for
setting the js URL path

Signed-off-by: Andy Green <andy@warmcat.com>
Reviewed-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Andy Green 2018-06-23 18:25:53 +08:00 committed by Jason A. Donenfeld
parent 093ac96970
commit aee39b4e9a
6 changed files with 33 additions and 0 deletions

7
cgit.js Normal file
View file

@ -0,0 +1,7 @@
/* cgit.js: javacript functions for cgit
*
* Copyright (C) 2006-2018 cgit Development Team <cgit@lists.zx2c4.com>
*
* Licensed under GNU General Public License v2
* (see COPYING for full license text)
*/