diff --git a/.env b/.env index 3c532618..ea34ae2a 100644 --- a/.env +++ b/.env @@ -1,3 +1,3 @@ HOST=localhost PORT=8000 -APP_MEDIA_DIR=appmedia +MEDIA_DIR=appmedia diff --git a/webodm.sh b/webodm.sh index fc972504..d8c69ac2 100755 --- a/webodm.sh +++ b/webodm.sh @@ -16,7 +16,7 @@ if [[ $platform = "Windows" ]]; then export COMPOSE_CONVERT_WINDOWS_PATHS=1 fi -# Set default ENV variables +# Set default env variables export PORT="${WEBODM_PORT:=8000}" export HOST="${WEBODM_HOST:=localhost}" export MEDIA_DIR="${WEBODM_MEDIA_DIR:=appmedia}" @@ -135,7 +135,7 @@ if [[ $1 = "start" ]]; then echo "============" echo "Make sure to issue a $0 down if you decide to change the environment." echo "" - + start elif [[ $1 = "stop" ]]; then environment_check