feat(death): I want to die...

This commit is contained in:
Maieul BOYER 2025-08-25 18:42:35 +02:00 committed by Maix0
parent 33e893ec58
commit a16852c1b9
34 changed files with 761 additions and 321 deletions

View file

@ -30,9 +30,10 @@ const app: FastifyPluginAsync = async (
void fastify.register(route as any, {});
}
void fastify.register(db.uDatabase as any, {})
await fastify.register(db.useDatabase as any, {})
void fastify.register(fastifyFormBody, {})
void fastify.register(fastifyMultipart, {})
console.log(fastify.db.getUser(1));
// The use of fastify-plugin is required to be able
// to export the decorators to the outer scope

View file

@ -1,7 +1,7 @@
// this sould only be used by the docker file !
import fastify, { FastifyInstance } from "fastify";
import app from './app.js'
import app from "./app"
const start = async () => {
const envToLogger = {

View file

@ -40,7 +40,7 @@ export default defineConfig({
external: externals,
},
target: 'node22', // or whatever Node version you use
sourcemap: true,
minify: false, // for easier debugging
sourcemap: false,
minify: true, // for easier debugging
}
})