|
@@ -335,9 +335,9 @@ export async function postWebUpdate(axiosInstance, param) {
|
|
|
continue;
|
|
|
const filestat = await stat(path + subPath);
|
|
|
if (filestat.isDirectory()) {
|
|
|
- await loopDir(distDir + subPath, subPath);
|
|
|
+ await loopDir(path + subPath, subPath);
|
|
|
} else {
|
|
|
- archive.file(distDir + subPath, { name: file });
|
|
|
+ archive.file(path + subPath, { name: file });
|
|
|
}
|
|
|
}
|
|
|
}
|