add proxy routes, webauthn bug fix
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user