From fe205531e0c1722710ab2e98100877366ab1246f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B8=D0=BA=D0=B8=D1=82=D0=B0=20=D0=9A=D1=80=D1=83?= =?UTF-8?q?=D0=B3=D0=BB=D0=B8=D1=86=D0=BA=D0=B8=D0=B9?= Date: Mon, 20 Oct 2025 03:17:54 +0600 Subject: [PATCH] =?UTF-8?q?=D0=BA=D1=83=D1=87=D0=B0=20=D0=B3=D0=BE=D0=B2?= =?UTF-8?q?=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/routes/auth.ts | 5 +++++ 1 file changed, 5 insertions(+) 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', +}