From e6d104a61e62da66dfed2501b907d019102832a4 Mon Sep 17 00:00:00 2001 From: judemin Date: Mon, 8 Jan 2024 15:49:43 +0900 Subject: [PATCH] UPDATE : deleted socket routing --- Dockerfile | 2 +- socket.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d0592a5..430430d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,4 @@ RUN npm install EXPOSE $PORT # ENTRYPOINT [ "npx", "pm2-runtime", "start", "ecosystem.config.js" ] -ENTRYPOINT ["node", "app.js"] \ No newline at end of file +ENTRYPOINT ["npm", "start"] \ No newline at end of file diff --git a/socket.js b/socket.js index ddb26e3..f1655bc 100644 --- a/socket.js +++ b/socket.js @@ -7,7 +7,6 @@ const processNLText = require("./processNLText"); function initSocket(server, app) { console.log('Configuring Socket'); const io = socketIO(server, { - path: '/socket', // Connection Timeout // Only for previous connection pingTimeout: 10000,