Problem
The server port (8080) is partially configurable via $PORT, but the external questions API URL is hardcoded in agxgame.js. Other settings like scoring values are in config.json but the API base URL is not.
Suggested fix
Move the API base URL to config.json or environment variables so deployments can point to different question sources without modifying code.
Problem
The server port (8080) is partially configurable via
$PORT, but the external questions API URL is hardcoded inagxgame.js. Other settings like scoring values are inconfig.jsonbut the API base URL is not.Suggested fix
Move the API base URL to
config.jsonor environment variables so deployments can point to different question sources without modifying code.