diff --git a/.gitea/workflows/dev.yml b/.gitea/workflows/dev.yml index 1ebc30a6..2bcbbde2 100644 --- a/.gitea/workflows/dev.yml +++ b/.gitea/workflows/dev.yml @@ -16,7 +16,8 @@ jobs: - name: Build run: pnpm build:antd - name: cp - run: robocopy ./apps/web-antd/dist C:\devtool\nginx-1.28.0\html\propety /E +# run: robocopy ./apps/web-antd/dist C:\devtool\nginx-1.28.0\html\propety /E + run: Copy-Item -Path "./apps/web-antd/dist" -Destination "C:\devtool\nginx-1.28.0\html\property" -Recurse -Force -ErrorAction SilentlyContinue diff --git a/apps/web-antd/.env.production b/apps/web-antd/.env.production index 2b43bb72..d228ac48 100644 --- a/apps/web-antd/.env.production +++ b/apps/web-antd/.env.production @@ -1,4 +1,4 @@ -VITE_BASE=/ +VITE_BASE=/property # 是否开启压缩,可以设置为 none, brotli, gzip VITE_COMPRESS=gzip