This commit is contained in:
‘Liammcl’
2024-12-19 00:43:57 +08:00
parent 7ba9f537fb
commit aa5918aacf
2 changed files with 12 additions and 3 deletions

View File

@@ -256,7 +256,7 @@ const StorageManager = () => {
// 判断是否是HTML
const isHtml = (file) => {
return file.metadata?.mimetype === "text/html";
return file.metadata?.mimetype === "text/html"||file.metadata?.mimetype === "text/plain";
};
// 保存文件内容