diff --git a/scripts/install b/scripts/install index 19cb9e1..464c781 100644 --- a/scripts/install +++ b/scripts/install @@ -129,6 +129,7 @@ mkdir -p "$final_path/www" if [ $with_sftp -eq 1 ] then ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file=../sources/www/index.html + ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file=../sources/www/index.html # Copy files to the right place cp "../sources/www/index.html" "$final_path/www/index.html" diff --git a/sources/www/index.html b/sources/www/index.html index 051a429..b4dd3ea 100644 --- a/sources/www/index.html +++ b/sources/www/index.html @@ -20,7 +20,7 @@