summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorGravatar default2023-08-02 08:47:57 +0200
committerGravatar default2023-08-02 08:47:57 +0200
commita3226b5b7aca3d7e9f211836f525b6ebcf591681 (patch)
tree26f728b86ee915632e80142f64ab42c38a36932b /html.c
parentBumped version. (diff)
downloadsnac2-a3226b5b7aca3d7e9f211836f525b6ebcf591681.tar.gz
snac2-a3226b5b7aca3d7e9f211836f525b6ebcf591681.tar.xz
snac2-a3226b5b7aca3d7e9f211836f525b6ebcf591681.zip
Don't redir to 'snac-posts', now that the top page is smaller.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index 8f92d69..e96eb41 100644
--- a/html.c
+++ b/html.c
@@ -2372,7 +2372,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
2372 char *redir = xs_dict_get(p_vars, "redir"); 2372 char *redir = xs_dict_get(p_vars, "redir");
2373 2373
2374 if (xs_is_null(redir)) 2374 if (xs_is_null(redir))
2375 redir = "snac-posts"; 2375 redir = "top";
2376 2376
2377 *body = xs_fmt("%s/admin#%s", snac.actor, redir); 2377 *body = xs_fmt("%s/admin#%s", snac.actor, redir);
2378 *b_size = strlen(*body); 2378 *b_size = strlen(*body);