配置更新

This commit is contained in:
2025-10-26 20:10:00 +08:00
parent accd1ae9da
commit 85e910fac9
41 changed files with 334 additions and 330 deletions
+6 -6
View File
@@ -59,25 +59,25 @@ ls -la dist/
### 方法二:手动部署
```bash
# 1. 上传index.html
scp dist/index.html root@47.111.10.27:/data/www/emotion-museum/
scp dist/index.html root@101.200.208.45:/data/www/emotion-museum/
# 2. 上传assets目录
scp -r dist/assets root@47.111.10.27:/data/www/emotion-museum/
scp -r dist/assets root@101.200.208.45:/data/www/emotion-museum/
# 3. 上传测试文件
scp dist/test-*.html root@47.111.10.27:/data/www/emotion-museum/
scp dist/test-*.html root@101.200.208.45:/data/www/emotion-museum/
```
## ✅ 部署后验证
### 1. 基础功能验证
- [ ] 访问 http://47.111.10.27/emotion-museum/ 正常加载
- [ ] 访问 http://101.200.208.45/emotion-museum/ 正常加载
- [ ] 静态资源(CSS/JS)正常加载,无404错误
- [ ] 页面样式正常显示
### 2. 路由验证
- [ ] 访问 http://47.111.10.27/emotion-museum/chat 正常
- [ ] 访问 http://47.111.10.27/emotion-museum/diary 正常
- [ ] 访问 http://101.200.208.45/emotion-museum/chat 正常
- [ ] 访问 http://101.200.208.45/emotion-museum/diary 正常
- [ ] 刷新页面不会出现404错误
### 3. 登录流程验证