Files
crm-ai/scripts/serve-web.sh
T

7 lines
243 B
Bash
Executable File

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