dkhd / node-group-chat

Build A Group-Chat App in 30 Lines Using Node.js
143 stars 102 forks source link

does not work if deploy it to Heroku or Google Cloud Platform #6

Open Chipingai opened 5 years ago

Chipingai commented 5 years ago

It works fine in my local server, but does not work if deploy it to Heroku or Google Cloud Platform.

Silv3rh4t commented 4 years ago

You just need to change the var socket initialisation statement to var socket = io();

BattleOfPlassey commented 4 years ago

You just need to change the var socket initialisation statement to var socket = io();

I tried this, the app did run but i did not get a username popup at the beginnning and then a POST error

Edit : I replaced https with http and it ran like a road runner xD

orangemn6 commented 3 years ago

even once I replace it with http it still does not work