mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Don't redir to 'snac-posts', now that the top page is smaller.
This commit is contained in:
parent
4d18ed9850
commit
a3226b5b7a
1 changed files with 1 additions and 1 deletions
2
html.c
2
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);
|
||||
|
|
Loading…
Reference in a new issue