Go to file
Sugui ef84610051 First commit of code 2024-03-28 09:29:33 +01:00
.gitignore First commit of code 2024-03-28 09:29:33 +01:00
README.md Added README.md 2024-03-27 19:53:57 +00:00
bun.lockb First commit of code 2024-03-28 09:29:33 +01:00
compose.yml First commit of code 2024-03-28 09:29:33 +01:00
index.ts First commit of code 2024-03-28 09:29:33 +01:00
package.json First commit of code 2024-03-28 09:29:33 +01: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. 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.