ianramzy / decentralized-video-chat

🚀 Zipcall- Acquired @ 250k users 🚀 Peer to peer browser video calling platform with unmatched video quality and latency.
https://zipcall.io
3.3k stars 502 forks source link

Built App on Node.js server has unexpected behavior with internal links #39

Open inglesuniversal opened 4 years ago

inglesuniversal commented 4 years ago

NOTE: I'm pretty sure, the issues are caused by my lack on knowledge rather than by the script which works perfectly on my local machine and the server itself, as long as I'm using the initial port number.

Hi: I followed your advice and I started a node.js server, installed the script, but I think my build is not set up correctly...

I'm getting this page with and empty text screen:

https://mydomain.com/decentralized-video-chat/public/jointest

I had to manually type the .HTML extension so that the file would actually be visible in the browser (landingpage.html / newcall.html) without any port shown as part of the the URL (domain.net/decen...)

Once I picked my nick to start the video chat I got another blank page with this:

https://myserver.com/decentralized-video-chat/public/joinMYNICKNAME

PS: Please allow me to apologize since I'm quite new into node.js

Regards

ianramzy commented 4 years ago

You are forgetting the slash after join aka /join /myName NOT /joinmyName

Chaphasilor commented 4 years ago

Hi, could you please refrain from posting more issues? It's really hard to keep an overview otherwise. I'll close your other issues now, please post any new question here inside this issue!

So, I guess you're not using the server at all. If you need put .html at the end of the url, the zipcall server isn't serving the pages at all, but rather some other webserver that might be running, like apache.
Have you made sure the PORT environment variable is set to 80? You might also need to configure SSL for the server. I can't show you how right now, but maybe I can do that later.