mirror of
https://github.com/hanzoskill/screen-monitor.git
synced 2026-10-30 21:01:25 +00:00
6 lines
228 B
Bash
6 lines
228 B
Bash
#!/bin/bash
|
|
# Permanent Port for Screen Monitor Backend
|
|
PORT=18795
|
|
LAN_IP=$(ip route get 1 | awk '{print $7; exit}' 2>/dev/null || hostname -I | awk '{print $1}' || echo "localhost")
|
|
echo "http://${LAN_IP}:${PORT}/screen-share"
|