I am trying to create an app using easyrtc which uses socket.io. It works on localhost but when I deploy it to Heroku I get the following errors:
Failed to load resource: the server responded with a status of 404 (Not Found)
(index):1
Refused to execute script from 'https://deep-nodejs.herokuapp.com/socket.io/socket.io.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.(index):4
Uncaught ReferenceError: io is not defined (index):4
How can I fix this? Any help on this matter is appreciated.