Skip to content

Commit

Permalink
UPDATE : deleted socket routing
Browse files Browse the repository at this point in the history
  • Loading branch information
judemin committed Jan 8, 2024
1 parent 924a621 commit e6d104a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ RUN npm install
EXPOSE $PORT

# ENTRYPOINT [ "npx", "pm2-runtime", "start", "ecosystem.config.js" ]
ENTRYPOINT ["node", "app.js"]
ENTRYPOINT ["npm", "start"]
1 change: 0 additions & 1 deletion socket.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e6d104a

Please sign in to comment.