MangoRecipe/Source/classes/Main.ts

12 lines
299 B
TypeScript

import path from "path";
import { startWebserver } from "../Webserver/index";
import config from "../../config.json";
export class MangoRecipe {
config: typeof config;
// Starts webservers at first boot
constructor() {
this.config = config;
startWebserver(this);
}
}