add config routes

This commit is contained in:
2025-02-18 15:10:51 +05:30
parent fc9abbbec4
commit 5d5cee2d7e
8 changed files with 203 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ import { taskSchemas } from "./task/task.schema";
import { notificationSchemas } from "./notification/notification.schema";
import { noteSchemas } from "./note/note.schema";
import { webAuthnRoutes } from "./webauthn/webauthn.route";
import { configSchemas } from "./config/config.schema";
const app = fastify({ logger: true, trustProxy: true });
@@ -47,6 +48,7 @@ for (const schema of [
...taskSchemas,
...notificationSchemas,
...noteSchemas,
...configSchemas,
]) {
app.addSchema(schema);
}