diff options
-rw-r--r-- | mjpeg-proxy.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mjpeg-proxy.js b/mjpeg-proxy.js index f4a54b9..e7989d4 100644 --- a/mjpeg-proxy.js +++ b/mjpeg-proxy.js @@ -33,7 +33,7 @@ function extractBoundary(contentType) { endIndex = contentType.length; } } - return contentType.substring(startIndex + 9, endIndex); + return contentType.substring(startIndex + 9, endIndex).replace(/"/gi,''); } var MjpegProxy = exports.MjpegProxy = function(mjpegUrl) { @@ -139,4 +139,4 @@ var MjpegProxy = exports.MjpegProxy = function(mjpegUrl) { } }); } -}
\ No newline at end of file +} |