There was an error while loading. Please reload this page.
1 parent b3b9ae9 commit 9b2a8edCopy full SHA for 9b2a8ed
1 file changed
src/server.ts
@@ -1,4 +1,4 @@
1
-import Fastify, { type FastifyServerOptions } from 'fastify'
+import Fastify from 'fastify'
2
import { registerMeteoAlertsRoutes } from './routes/meteo-alerts'
3
import i18next from 'i18next'
4
import italian from './resources/locales/it.json'
@@ -14,7 +14,7 @@ const translations = {
14
15
export const startServer = async () => {
16
const fastify = Fastify({
17
- logger: logger as unknown as FastifyServerOptions['logger'],
+ loggerInstance: logger,
18
disableRequestLogging: true,
19
})
20
0 commit comments