server port config
This commit is contained in:
parent
f1c9af7b6b
commit
7bfaacdafb
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
import http from "http";
|
import http from "http";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import fs, { openSync } from "fs";
|
import fs from "fs";
|
||||||
import Log from "../common/log.js";
|
import Log from "../common/log.js";
|
||||||
import { init as initWS } from "./ws.js";
|
import { init as initWS } from "./ws.js";
|
||||||
|
|
||||||
var PORT = 3000;
|
var PORT = process.env.MP_TEST_PORT || 3000;
|
||||||
var mime_types = {
|
var mime_types = {
|
||||||
'html': 'text/html',
|
'html': 'text/html',
|
||||||
'css': 'text/css',
|
'css': 'text/css',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue