From 168a74f6593c2f68a29fbd9cc09cd0192e06fa69 Mon Sep 17 00:00:00 2001 From: Zyronon Date: Tue, 25 Nov 2025 14:45:04 +0800 Subject: [PATCH] Update deploy-oss.js --- scripts/deploy-oss.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-oss.js b/scripts/deploy-oss.js index 55abc2d3..de6c3879 100644 --- a/scripts/deploy-oss.js +++ b/scripts/deploy-oss.js @@ -129,8 +129,8 @@ async function refreshCDN(domain) { async function main() { const files = getAllFiles('./dist') console.log(`📁 共找到 ${files.length} 个文件,开始上传...`) - await uploadFilesWithClean(files, './dist', ['dicts', 'sound', 'libs']) - // await uploadFilesWithClean(files, './dist', ['libs']) + // await uploadFilesWithClean(files, './dist', ['dicts', 'sound', 'libs','imgs]) + await uploadFilesWithClean(files, './dist', ['libs','imgs']) await refreshCDN('2study.top') await refreshCDN('typewords.cc') }