git clone https://github.com/NewLandTV/chat-server.git
cd chat-server
npm install
Move the ngrok.exe file to the root of this repository. Then run the command below.
ngrok config add-authtoken $YOUR_AUTHTOKEN
To run the command below you will need two other commands.
node .
ngrok http localhost:3000
But the client cannot connect to the server because it does not provide the server's URL.
Open the chat.html file and, in url on line 60, enter the forwarding URL displayed at the ngrok prompt.