2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-31 06:15:08 +00:00

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

1
cgit.h
View File

@@ -264,6 +264,7 @@ struct cgit_config {
int branch_sort;
int commit_sort;
struct string_list mimetypes;
struct string_list js;
struct cgit_filter *about_filter;
struct cgit_filter *commit_filter;
struct cgit_filter *source_filter;