feat: connect vehicle map to open platform

This commit is contained in:
lingniu
2026-08-03 19:55:38 +08:00
parent d72f3442b2
commit 53506afbde
11 changed files with 585 additions and 422 deletions
+4 -3
View File
@@ -8,8 +8,9 @@ echo "=================================================="
IP_ADDR=$(ifconfig | grep "inet " | grep -v 127.0.0.1 | head -n 1 | awk '{print $2}')
echo "本机访问地址: http://localhost:8080"
echo "局域网访问地址: http://${IP_ADDR}:8080"
PORT="${VEHICLE_MAP_PORT:-20800}"
echo "本机访问地址: http://localhost:${PORT}"
echo "局域网访问地址: http://${IP_ADDR}:${PORT}"
echo "=================================================="
python3 -m http.server 8080
exec python3 server.py