Files
Testing/videocall/demos/node_scripts/resolveURL.js
sean 0e8a8b3028
Some checks are pending
deploy-testing / deploy (push) Waiting to run
Initial testing snapshot
2026-11-17 16:15:01 -05:00

12 lines
336 B
JavaScript

// Muaz Khan - www.MuazKhan.com
// MIT License - www.WebRTC-Experiment.com/licence
// Documentation - github.com/muaz-khan/RTCMultiConnection
function resolveURL(url) {
var isWin = !!process.platform.match(/^win/);
if (!isWin) return url;
return url.replace(/\//g, '\\');
}
module.exports = exports = resolveURL;