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

This commit is contained in:
default 2023-08-02 08:47:57 +02:00
parent 4d18ed9850
commit a3226b5b7a

2
html.c
View file

@ -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);