fix static path

This commit is contained in:
marlonerler
2024-07-05 20:01:46 +02:00
parent f82e874ac0
commit 59240f3f9c
+1 -1
View File
@@ -16,7 +16,7 @@ import { ServerWebSocket } from "bun";
import { getConfig } from "./config-handler";
// CONFIG
const staticDir = "static/dist";
const staticDir = Path.join(Path.dirname(import.meta.path), "static/dist");
const defaultPage = "index.html";
// TYPES