lul
This commit is contained in:
parent
21334b2d5f
commit
e26930bdbf
|
@ -180,7 +180,7 @@ function Websrv(tlib) {
|
||||||
|| contentType === "audio/ogg") && req.headers['range']) {
|
|| contentType === "audio/ogg") && req.headers['range']) {
|
||||||
var start = 0;
|
var start = 0;
|
||||||
var end = 0;
|
var end = 0;
|
||||||
var range = req.headers['range']);
|
var range = req.headers['range'];
|
||||||
var stat = fs.statSync(filePath);
|
var stat = fs.statSync(filePath);
|
||||||
if(range != null) {
|
if(range != null) {
|
||||||
start = parseInt(range.slice(range.indexOf('bytes=')+6, range.indexOf('-')));
|
start = parseInt(range.slice(range.indexOf('bytes=')+6, range.indexOf('-')));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user