feat:发版记录
This commit is contained in:
parent
148d85fd24
commit
0125e414d8
|
@ -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 ./* ../
|
||||||
|
|
||||||
```
|
```
|
|
@ -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`
|
||||||
|
|
Loading…
Reference in New Issue