fix: update diagnostic script port and add deployment script

- Fix API health check to use correct port 18080
- Add deploy-update.sh for easy deployment on NAS
- Include log viewing after deployment
This commit is contained in:
ShukeBta
2026-06-11 13:03:59 +08:00
parent 197d8bd463
commit 66a75e61b4
2 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ echo ""
# 4. 测试API健康状态
echo "[4] 测试API健康状态..."
if curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/api/health | grep -q 200; then
if curl -s -o /dev/null -w "%{http_code}" http://localhost:18080/api/health | grep -q 200; then
echo "API状态: 正常"
else
echo "API状态: 无法访问"