webrtc-signaling-helpers
Version:
This is a helper package which is needed to be installed if webrtc-signaling-server is installed
12 lines (9 loc) • 411 B
JavaScript
// TechnicalHeist - www.technicalheist.com
// MIT License - https://github.com/technicalheist/webrtc-signaling-helpers/blob/master/LICENSE
// Documentation - https://github.com/technicalheist/webrtc-signaling-helpers
function resolveURL(url) {
var isWin = !!process.platform.match(/^win/);
if (!isWin) return url;
return url.replace(/\//g, '\\');
}
module.exports = exports = resolveURL;