更新依赖web
This commit is contained in:
parent
f447436930
commit
b116db54db
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 169 KiB |
File diff suppressed because one or more lines are too long
2292
data/web/index.html
2292
data/web/index.html
File diff suppressed because one or more lines are too long
@ -56,6 +56,7 @@ function copyDirRecursive(src: string, dest: string): void {
|
||||
if (!fs.existsSync(dest)) fs.mkdirSync(dest, { recursive: true });
|
||||
for (const entry of fs.readdirSync(src, { withFileTypes: true })) {
|
||||
// 跳过 oss 文件夹和 db2.sqlite 文件
|
||||
if (entry.isDirectory() && entry.name === "logs") continue;
|
||||
if (entry.isDirectory() && entry.name === "oss") continue;
|
||||
if (!entry.isDirectory() && entry.name === "db2.sqlite") continue;
|
||||
const srcPath = path.join(src, entry.name);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user