Removes comments

This commit is contained in:
Pierre Lannoy 2023-12-13 20:04:49 +01:00
commit 88523eed34
Signed by: Pierre Lannoy
GPG key ID: D27231EF87D53F31

View file

@ -3,11 +3,10 @@ import http from "http";
import listener from "./src/client.js";
import { isMainProcess } from "./src/util.js";
// development endpoint - use ngrok
const server = http.createServer(listener);
if (isMainProcess(import.meta.url)) {
config();
const port = parseInt(process.env.HTTP_PORT || "3000");
const port = parseInt(process.env.HTTP_PORT || "80");
server.listen(port, function () {
console.log(`server start at port ${port}`);
});