Commit Graph

5 Commits

Author SHA1 Message Date
maaa e6359db97d we are so back 2024-04-29 22:36:42 +02:00
TestingPlant a041e6a21f fix!: remove /api/post
The code handling /api/post is similar to the code handling /post, but
/api/post has some bugs such as allowing banned users to upload files.
Making /post the only API able to upload files would reduce duplicated
code which reduces the chance of bugs.

Although this removes /api/post, it shouldn't cause any issues since
/api/post isn't currently usable because it requires a multipart
request, but the code uses get_json which only works when the
mimetype is application/json.
2023-07-11 20:57:30 -05:00
maaa 8330a8a5be fart 2023-07-10 18:58:27 +02:00
maaa 1fe79a6073 add get comment of post API thing 2023-07-10 00:42:53 +02:00
maaa ed6ab7cea0 added API 2023-07-09 00:44:53 +02:00