feat: base64 uploads, reusable forms, Discord roles, and UX improvements #66

Merged
naomi merged 8 commits from fix/base64 into main 2026-02-20 20:32:52 -08:00
Showing only changes of commit e6b6131134 - Show all commits
+2 -2
View File
@@ -21,8 +21,8 @@ export default async function staticPlugin(app: FastifyInstance) {
// Catch-all route for Angular SPA routing (must be registered after API routes)
app.setNotFoundHandler((request, reply) => {
// Only catch routes that don't start with /api
if (!request.url.startsWith("/api")) {
// Only catch routes that don't start with /api or /assets
if (!request.url.startsWith("/api") && !request.url.startsWith("/assets")) {
reply.sendFile("index.html");
} else {
reply.code(404).send({ error: "Not Found" });