Remove unused stuff to pass the test thingy
continuous-integration/drone/push Build is passing Details

main
nightly 2022-10-19 16:00:06 +02:00
parent 932fb0b0b7
commit 0ba1c2a1a2
3 changed files with 4 additions and 2 deletions

View File

@ -28,6 +28,10 @@ export function startWebserver(config: any) {
extname: ".liquid", extname: ".liquid",
}); });
if (config) {
console.log("test");
}
// View engine options // View engine options
app.engine("liquid", engine.express()); app.engine("liquid", engine.express());
app.set("views", [VIEWS_DIRECTORY, PARTIALS_DIRECTORY, LAYOUTS_DIRECTORY]); app.set("views", [VIEWS_DIRECTORY, PARTIALS_DIRECTORY, LAYOUTS_DIRECTORY]);

View File

@ -1,4 +1,3 @@
import path from "path";
import { startWebserver } from "../Webserver/index"; import { startWebserver } from "../Webserver/index";
import config from "../../config.json"; import config from "../../config.json";

View File

@ -5,6 +5,5 @@
*/ */
import { MangoRecipe } from "./classes/Main"; import { MangoRecipe } from "./classes/Main";
import config from "../config.json";
new MangoRecipe(); new MangoRecipe();