File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ function update_script() {
5252 cp /opt/netvisor.env.bak /opt/netvisor/.env
5353 LOCAL_IP=" $( hostname -I | awk ' {print $1}' ) "
5454 if ! grep -q " PUBLIC_URL" ; then
55- sed -i " \|_PATH=|a\NETVISOR_SERVER_PUBLIC_URL =http://${LOCAL_IP} :60072" /opt/netvisor/.env
55+ sed -i " \|_PATH=|a\NETVISOR_PUBLIC_URL =http://${LOCAL_IP} :60072" /opt/netvisor/.env
5656 fi
5757 sed -i ' s|_TARGET=.*$|_URL=http://127.0.0.1:60072|' /opt/netvisor/.env
5858
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ cat <<EOF >/opt/netvisor/.env
5454### - SERVER
5555NETVISOR_DATABASE_URL=postgresql://$PG_DB_USER :$PG_DB_PASS @localhost:5432/$PG_DB_NAME
5656NETVISOR_WEB_EXTERNAL_PATH="/opt/netvisor/ui/build"
57- NETVISOR_SERVER_PUBLIC_URL =http://${LOCAL_IP} :60072
57+ NETVISOR_PUBLIC_URL =http://${LOCAL_IP} :60072
5858NETVISOR_SERVER_PORT=60072
5959NETVISOR_LOG_LEVEL=info
6060NETVISOR_INTEGRATED_DAEMON_URL=http://127.0.0.1:60073
You can’t perform that action at this time.
0 commit comments