From 0970e05db7ffbbdd5069967abe15c9988b1b2528 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Mon, 12 Aug 2024 21:30:11 +0300 Subject: [PATCH] ref --- src/server-prod.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server-prod.js b/src/server-prod.js index 5cd8aa9..2989b6c 100644 --- a/src/server-prod.js +++ b/src/server-prod.js @@ -1,7 +1,7 @@ import { readFileSync } from "fs"; import { createServer } from "https"; import { Server } from "socket.io"; -// import { main } from "./main.js"; +import { main } from "./main.js"; const directory = `/etc/letsencrypt/live/airmonitor.servermc.ru-0001`; const ssl = { @@ -16,7 +16,7 @@ const io = new Server(httpsServer, { }, }); -// main(io); +main(io); const PORT = 3001; httpsServer.listen(PORT, () => {