snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit a3226b5b7aca3d7e9f211836f525b6ebcf591681
parent 4d18ed985057969a8de16425d5d6e2aadb371b0b
Author: default <nobody@localhost>
Date:   Wed,  2 Aug 2023 08:47:57 +0200

Don't redir to 'snac-posts', now that the top page is smaller.

Diffstat:
Mhtml.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/html.c b/html.c @@ -2372,7 +2372,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, char *redir = xs_dict_get(p_vars, "redir"); if (xs_is_null(redir)) - redir = "snac-posts"; + redir = "top"; *body = xs_fmt("%s/admin#%s", snac.actor, redir); *b_size = strlen(*body);