2 ms·
Is node and npm required only for building the project, or also for running it? In other words, can this run if I upload the html, js and other files to static
by codetrotter 4y ago
Is node and npm required only for building the project, or also for running it?
In other words, can this run if I upload the html, js and other files to static hosting?
- lioeters 4y agoI'm not associated with the project, but I found that it's not a static site. Node.js is required for the thin WebSocket layer. https://github.com/vasanthv/talk/blob/master/server.js https://github.com/vasanthv/talk/blob/master/server.js The actual P2P handshake is done through these default ICE servers defined in the client script. https://github.com/vasanthv/talk/blob/master/www/script.js https://github.com/vasanthv/talk/blob/master/www/script.js const ICE_SERVERS = [ { urls: "stun:stun.l.google.com:19302" }, { urls: "turn:openrelay.metered.ca:443", username: "openrelayproject", credential: "openrelayproject" }, ];