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>2024-08-14 07:17:30 +0200
commitcad8bb75363323e25422cbed76b45de07fa510ec (patch)
tree7847c1a32041d4b0a87252761965a22c5a2df79f /cmd.c
parentgit: update to v2.46.0 (diff)
Set the default page to /aboutHEADmaster
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);