From 7893e2558e3569b7e469a3b8957c3609136d6012 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 5 Sep 2021 22:54:29 +0200 Subject: Set the default page to /about --- cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd.c') diff --git a/cmd.c b/cmd.c index 0eb75b1..2ddd95b 100644 --- a/cmd.c +++ b/cmd.c @@ -55,7 +55,7 @@ static void about_fn(void) cgit_redirect(ctx.repo->homepage, false); else { char *currenturl = cgit_currenturl(); - char *redirect = fmtalloc("%s../", currenturl); + char *redirect = fmtalloc("%s/../", currenturl); cgit_redirect(redirect, false); free(currenturl); free(redirect); -- cgit v1.2.3-54-g00ecf