From 2a190b5724d553f0e22e83f2266e9474c064cd6f Mon Sep 17 00:00:00 2001 From: Suguivy Date: Wed, 27 Mar 2024 19:53:57 +0000 Subject: [PATCH] Added README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..9cdcef8 --- /dev/null +++ b/README.md @@ -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. \ No newline at end of file