-rw-r--r-- | cgit.c | 2 | ||||
-rw-r--r-- | cgit.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -183,3 +183,3 @@ static int cgit_prepare_cache(struct cacheitem *item) - if (!cgit_cmd) { + if (!ctx.qry.page) { item->name = xstrdup(fmt("%s/%s/index.%s.html", ctx.cfg.cache_root, @@ -191,3 +191,2 @@ extern struct cgit_context ctx; extern const struct cgit_snapshot_format cgit_snapshot_formats[]; -extern int cgit_cmd; |