Default port returned to 80
authorYasin <mohammed-yasin.rahman@lip6.fr>
Wed, 12 Feb 2014 13:37:08 +0000 (14:37 +0100)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Wed, 12 Feb 2014 13:37:08 +0000 (14:37 +0100)
devel/server-loop.sh

index 1d94e8e..c77258f 100755 (executable)
@@ -3,7 +3,8 @@ DIRNAME=$(dirname $0)
 cd $DIRNAME/..
 
 # default port : if hostname starts with z -> use 8080 ; otherwise take 80
-hostname | grep -q '^z' && port=8080 || port=8080
+#hostname | grep -q '^z' && port=8080 || port=8080
+hostname | grep -q '^z' && port=8080 || port=80
 [[ -n "$@" ]] && port=$1
 
 while true; do