kimobrian / TwilioReact

A React Video Chat app using Twilio Video
MIT License
56 stars 31 forks source link

Production Issue #1

Closed clevernyyyy closed 6 years ago

clevernyyyy commented 6 years ago

Hi! Big Fan of your recent blog post regarding twilio video conferencing, but running into issues when trying to push to production. Did you have to do anything special to get your heroku demo working? Basically the /token request does not seem to be working (404s) when moving the dist/ folder contents to my server.

This of course results in an error once there's no token state set in VideoComponent.js.

I'm not sure what I'm doing wrong, I've edited my .env to NODE_ENV=PROD

clevernyyyy commented 6 years ago

Looks like I made this mistake of hosting this statically - I need a production express server.

Closing.