Closed souravdewett closed 4 years ago
What you need for this app to work is an endpoint that can return a Twilio Video Access Token. In this application that is handled by the Express server but that could certainly be done on Firebase or Netlify Functions or Heroku. Then the front end needs to know where that endpoint is when it asks for the token here.
Does that help?
I tried deploying it on heroku it gives me me a page where it says "invalid host header".
@philnash can you please help me deploy it on heroku? It's really important for me.
So, this isn't set up particularly well for deploy to heroku right now. I'm going to spike a branch that should make it easier though, will let you know how that goes.
I have made the changes that this would need and tried a test deploy to Heroku successful. Check out the changes I made here.
Check out the instructions for deploying to Heroku here.
Let me know if that helps and I will merge the branch into master.
Worked like a charm. Thank you very much. You are a life saver.
Glad to hear that worked for you. I guess you are developing an application with this? Can you share what you are building? Drop me an email me at philnash [at] twilio [dot] com, I'd love to know what you are using Twilio Video for.
Thanks!
How can we deploy it on netlify or heroku?