Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
Sugui 2024-03-28 09:31:29 +01:00
commit 33d36dbd17
1 changed files with 1 additions and 1 deletions

View File

@ -2,4 +2,4 @@
The [bot image moderation frontend](https://git.fai.st/fedi-image-bot/bot-image-moderation-fe) (from now called frontend) can't access the Gelbooru API directly due to CORS issues.
This project serves as a solution to the given problem. The middleware service will be called by the frontend, and it will request an image with an `available` state. Finally, the image will be encoded into the response and sent back to the fronted. This way, the frontend can retrieve images without CORS issues.
This project serves as a solution to the given problem. It has an endpoint to get an image from the Gelbooru API, that was verified through the bot API to not be repeated. The image is directly encoded in the response.