Added README.md

This commit is contained in:
Suguivy 2024-03-27 19:53:57 +00:00
commit 2a190b5724
1 changed files with 5 additions and 0 deletions

5
README.md Normal file
View File

@ -0,0 +1,5 @@
# fe-middleware
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.