a041e6a21f
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. |
||
---|---|---|
static | ||
templates | ||
.gitignore | ||
LICENSE | ||
README.md | ||
config.ini | ||
deletecomment | ||
edituser | ||
init_db | ||
main | ||
newchatroom | ||
requirements.txt | ||
schema.sql |
README.md
burgercat: burger social media
self hosting:
this guide assumes you have git and python3 installed
git clone https://codeberg.org/burger-software/burgercat
cd burgercat
python init_db
python main
zero downtime restarts:
- launch new burgercat server
- close previous server
contribution guidelines:
- please check that your PR does not break anything