server port config

This commit is contained in:
ari melody 2025-05-28 16:39:23 +01:00
parent f1c9af7b6b
commit 7bfaacdafb
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -1,10 +1,10 @@
import http from "http";
import path from "path";
import fs, { openSync } from "fs";
import fs from "fs";
import Log from "../common/log.js";
import { init as initWS } from "./ws.js";
var PORT = 3000;
var PORT = process.env.MP_TEST_PORT || 3000;
var mime_types = {
'html': 'text/html',
'css': 'text/css',