Using ngrok with React based websites
robi last edited by
The problem :
When we have a react.js based site (hosted on port 8000) and ngrok it for development purposes we get
Invalid Host Header
The fix is to override the header on reflection:
ngrok http 8000 -host-header="localhost:8000"