|
@@ -85,7 +85,7 @@ public class FileController {
|
|
|
if (path.contains("mp4")) {
|
|
|
String range = request.getHeader("Range");
|
|
|
log.info("========Range:{}", range);
|
|
|
- ServletUtils.transfer(content, range, response, "/data/file" + path);
|
|
|
+ ServletUtils.transfer(content, range, response, "/data/file/" + path);
|
|
|
} else {
|
|
|
log.info("===============开始获取文件");
|
|
|
ServletUtils.writeAttachment(response, path, content, request);
|