Go to file
Sugui 95c93012be Graceful stopping and minor fixes 2024-04-15 18:30:18 +02:00
src Graceful stopping and minor fixes 2024-04-15 18:30:18 +02:00
test Graceful stopping and minor fixes 2024-04-15 18:30:18 +02:00
.gitignore First commit of code 2024-03-28 09:29:33 +01:00
README.md Fixed explanation 2024-03-27 20:13:57 +00:00
bun.lockb Added ImageController, removed base64 and exported app to app.ts 2024-04-15 10:54:01 +02:00
compose.yml Graceful stopping and minor fixes 2024-04-15 18:30:18 +02:00
package.json Graceful stopping and minor fixes 2024-04-15 18:30:18 +02:00
tsconfig.json First commit of code 2024-03-28 09:29:33 +01:00

README.md

fe-middleware

The bot image moderation frontend (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. 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.