mirror of
https://github.com/zfile-dev/zfile.git
synced 2025-04-19 05:34:52 +00:00
🐛 修复获取 m3u8 直链后系统报错的 bug.
This commit is contained in:
@@ -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 缓存.
|
||||
|
||||
Reference in New Issue
Block a user