MangoRecipe/Source/classes/Main.ts

12 lines
268 B
TypeScript
Raw Permalink Normal View History

2022-10-19 12:21:58 +02:00
import { startWebserver } from "../Webserver/index";
import config from "../../config.json";
export class MangoRecipe {
2022-10-19 13:07:30 +02:00
config: typeof config;
// Starts webservers at first boot
constructor() {
this.config = config;
startWebserver(config.webapp);
2022-10-19 13:07:30 +02:00
}
}