add proxy routes, webauthn bug fix

This commit is contained in:
2025-02-21 11:37:23 +05:30
parent 5d5cee2d7e
commit a41127b2fd
9 changed files with 198 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ import { notificationSchemas } from "./notification/notification.schema";
import { noteSchemas } from "./note/note.schema";
import { webAuthnRoutes } from "./webauthn/webauthn.route";
import { configSchemas } from "./config/config.schema";
import { mailSchemas } from "./mailProxy/mailProxy.schema";
const app = fastify({ logger: true, trustProxy: true });
@@ -49,6 +50,7 @@ for (const schema of [
...notificationSchemas,
...noteSchemas,
...configSchemas,
...mailSchemas,
]) {
app.addSchema(schema);
}