feat(death): I want to die...
This commit is contained in:
parent
33e893ec58
commit
a16852c1b9
34 changed files with 761 additions and 321 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue