🐛 修复获取 m3u8 直链后系统报错的 bug.

This commit is contained in:
zhaojun
2022-08-05 15:25:09 +08:00
parent 8460d17b07
commit d6e13d6115

View File

@@ -204,6 +204,7 @@ public class ShortLinkService extends ServiceImpl<ShortLinkMapper, ShortLink> im
OutputStream outputStream = response.getOutputStream();
byte[] textContentBytes = EncodingUtils.getBytes(textContent, CharsetUtil.CHARSET_UTF_8.displayName());
IoUtil.write(outputStream, true, textContentBytes);
return;
}
// 禁止直链被浏览器 302 缓存.