Ver código fonte

fix: 打包上传js修改

jcq 3 dias atrás
pai
commit
df79cb1df0
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      publish.mjs

+ 1 - 1
publish.mjs

@@ -122,7 +122,7 @@ const updateFiles = async () => {
     await sftp.connect(config);
     spinner.succeed(chalk.green('服务器连接成功'));
     console.log(chalk.blue('→'), chalk.gray('开始上传文件...'));
-    await sftp.uploadDir('dist', '/data/seo-vue/build');
+    await sftp.uploadDir('dist', '/data/seo-vue/dist');
     console.log(chalk.green('✓'), chalk.blue('6888端口文件上传完成'));