diff options
author | Georges-Etienne Legendre <legege@legege.com> | 2013-06-28 15:41:15 -0400 |
---|---|---|
committer | Georges-Etienne Legendre <legege@legege.com> | 2013-06-28 15:41:15 -0400 |
commit | 5ed4980f1ff591388681fe4073c8f9354794fe2f (patch) | |
tree | 69080693c298d07af58c8d5cf28884b8ace74ebc | |
parent | 84b64eab361f575492d69551591acacf3210e379 (diff) | |
parent | 83cf5017179c4ce3ba150ab7551bad57946825ee (diff) |
Merge branch 'master' of github.com:legege/node-mjpeg-proxy
-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 +} |