KI-AGENT: Erstzugriff und Mandanten-Grunddaten für Selfhosting ergänzen
This commit is contained in:
@@ -56,6 +56,7 @@ import {sendMail} from "./utils/mailer";
|
||||
import {loadSecrets, secrets} from "./utils/secrets";
|
||||
import {initMailer} from "./utils/mailer"
|
||||
import {initS3} from "./utils/s3";
|
||||
import { runBootstrap } from "./modules/bootstrap.service";
|
||||
|
||||
|
||||
//Services
|
||||
@@ -80,6 +81,7 @@ async function main() {
|
||||
await app.register(dayjsPlugin);
|
||||
await app.register(dbPlugin);
|
||||
await app.register(servicesPlugin);
|
||||
await runBootstrap(app);
|
||||
|
||||
app.addHook('preHandler', (req, reply, done) => {
|
||||
console.log(req.method)
|
||||
|
||||
Reference in New Issue
Block a user