diff --git a/server/routes/auth.ts b/server/routes/auth.ts index 9099eef..34a9be4 100644 --- a/server/routes/auth.ts +++ b/server/routes/auth.ts @@ -1,4 +1,5 @@ import type { FastifyInstance } from 'fastify' +import type { RegisterOptions } from 'fastify/types/register.js' import bcrypt from 'bcrypt' import { z } from 'zod' import { auth } from '../auth/lucia.ts' @@ -118,3 +119,7 @@ export default function (fastify: FastifyInstance) { } }) } + +const autoConfig: RegisterOptions = { + prefix: '/chad', +}