summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges-Etienne Legendre <legege@legege.com>2013-06-28 19:41:15 (GMT)
committerGeorges-Etienne Legendre <legege@legege.com>2013-06-28 19:41:15 (GMT)
commit5ed4980f1ff591388681fe4073c8f9354794fe2f (patch)
tree69080693c298d07af58c8d5cf28884b8ace74ebc
parent84b64eab361f575492d69551591acacf3210e379 (diff)
parent83cf5017179c4ce3ba150ab7551bad57946825ee (diff)
Merge branch 'master' of github.com:legege/node-mjpeg-proxy
-rw-r--r--mjpeg-proxy.js4
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
+}