Files
crm-ai/scripts/serve-web.sh
T
2026-10-23 10:35:28 +08:00

7 lines
247 B
Bash
Executable File

#!/usr/bin/env bash
# 本地静态测试页(widget JWT 演示)
set -euo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")/../web"
echo "http://192.168.31.61:${WEB_PORT:-8088}/demo.html"
exec python3 -m http.server "${WEB_PORT:-8088}" --bind 0.0.0.0