fix static path
This commit is contained in:
@@ -16,7 +16,7 @@ import { ServerWebSocket } from "bun";
|
|||||||
import { getConfig } from "./config-handler";
|
import { getConfig } from "./config-handler";
|
||||||
|
|
||||||
// CONFIG
|
// CONFIG
|
||||||
const staticDir = "static/dist";
|
const staticDir = Path.join(Path.dirname(import.meta.path), "static/dist");
|
||||||
const defaultPage = "index.html";
|
const defaultPage = "index.html";
|
||||||
|
|
||||||
// TYPES
|
// TYPES
|
||||||
|
|||||||
Reference in New Issue
Block a user