Browse Source

Update filebrowser-v3.sh

don't show Docker IP
tteckster 2 years ago
parent
commit
c24dec5b01
1 changed files with 2 additions and 1 deletions
  1. 2 1
      misc/filebrowser-v3.sh

+ 2 - 1
misc/filebrowser-v3.sh

@@ -1,4 +1,5 @@
 #!/usr/bin/env bash
+IP=$(hostname -I | awk '{print $1}')
 YW=`echo "\033[33m"`
 BL=`echo "\033[36m"`
 RD=`echo "\033[01;31m"`
@@ -86,4 +87,4 @@ msg_ok "Created Service"
 
 msg_ok "Completed Successfully!\n"
 echo -e "${APP} should be reachable by going to the following URL.
-         ${BL}http://$(hostname -I):8080${CL} \n"
+         ${BL}http://$IP:8080${CL} \n"