feat:发版记录

This commit is contained in:
1708-huayu 2025-09-11 19:05:24 +08:00
parent 148d85fd24
commit 0125e414d8
2 changed files with 8 additions and 1 deletions

View File

@ -36,6 +36,13 @@ scp -r cert/ root@121.36.71.28:/usr/local/software/nginx-1.28.0/
scp -r outd/ root@121.36.71.28:/usr/share/nginx/html scp -r outd/ root@121.36.71.28:/usr/share/nginx/html
mv outd todo
cd todo/
rm -rf outd/
cd ..
mv outd/ todo/
cd todo/
cd outd/
cp -rf ./* ../ cp -rf ./* ../
``` ```

View File

@ -5,7 +5,7 @@ const nextConfig = {
cleanDistDir: true, cleanDistDir: true,
basePath: isProduction ? "/todo" : '', basePath: isProduction ? "/todo" : '',
// 静态文件前缀 // 静态文件前缀
assetPrefix: isProduction ? "/todo" : '', assetPrefix: isProduction ? "/todo/" : '',
// Middleware cannot be used with "output: export". // Middleware cannot be used with "output: export".
output: 'export', output: 'export',
// Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html` // Optional: Change links `/me` -> `/me/` and emit `/me.html` -> `/me/index.html`