Fixed public folder

This commit is contained in:
Pax1601
2024-07-09 08:38:55 +02:00
parent 867dff6945
commit 81b1bf0335
729 changed files with 23608 additions and 46 deletions

View File

@@ -63,7 +63,7 @@ module.exports = function (configLocation) {
);
app.use(bodyParser.json({ limit: "50mb" }));
app.use(bodyParser.urlencoded({ limit: "50mb", extended: true }));
app.use(express.static(path.join(__dirname, "public")));
app.use(express.static(path.join(__dirname, "..", "public")));
app.use(cors());
/* Apply routers */