12 lines
336 B
JavaScript
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;
|