mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-05 04:56:37 +08:00
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:
+1
-1
@@ -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状态: 无法访问"
|
||||
|
||||
Reference in New Issue
Block a user