aboutsummaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
authorache <ache@ache.one>2021-09-05 22:54:29 +0200
committerache <ache@ache.one>2021-09-05 22:54:29 +0200
commit7893e2558e3569b7e469a3b8957c3609136d6012 (patch)
treef30ffdce4005bfd06b2732e2a0015179aa467a7c /cmd.c
parentgit: update to v2.32.0 (diff)
Set the default page to /aboutfix_about
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
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);