fmbenhassine / gamehub.io

Real-time multiplayer game server based on Node + Express + SocketIO + MongoDB + ElasticSearch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make host and port configurable

fmbenhassine opened this issue · comments

Currently, the host and port configuration is hardcoded (localhost:3000) both on client and server side.

This should be configurable at application startup using process.env.PORT