куча говна
All checks were successful
Deploy / deploy (push) Successful in 45s

This commit is contained in:
Никита Круглицкий 2025-10-20 03:36:30 +06:00
parent 75fe5b0b8c
commit f525d1afe5
2 changed files with 1 additions and 5 deletions

View File

@ -1,5 +1,4 @@
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'
@ -119,7 +118,3 @@ export default function (fastify: FastifyInstance) {
}
})
}
const autoConfig: RegisterOptions = {
prefix: '/chad',
}

View File

@ -23,6 +23,7 @@ fastify.register(FastifyAutoLoad, {
fastify.register(FastifyAutoLoad, {
dir: join(__dirname, 'routes'),
options: { prefix: 'chad' },
})
;(async () => {