next/plugins/01.db.server.ts

14 lines
391 B
TypeScript
Raw Normal View History

import mongoose from "mongoose";
import * as net from "net";
import plugnplay from "~/lib/server/plugnplay";
import { Biffno } from "~/models/challenges/biffno";
import { Ficmas } from "~/models/challenges/ficmas";
import { Challenge } from "~/models/challenges/gen";
export default defineNuxtPlugin({
name: "mongo",
// enforce: 'pre',
async setup(nuxtApp) {
await plugnplay();
},
});