diff options
| author | 2023-08-02 08:47:57 +0200 | |
|---|---|---|
| committer | 2023-08-02 08:47:57 +0200 | |
| commit | a3226b5b7aca3d7e9f211836f525b6ebcf591681 (patch) | |
| tree | 26f728b86ee915632e80142f64ab42c38a36932b /html.c | |
| parent | Bumped version. (diff) | |
| download | snac2-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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); |