diff --git a/scripts/install b/scripts/install index a879e2d..5bbfd68 100644 --- a/scripts/install +++ b/scripts/install @@ -150,7 +150,7 @@ ynh_replace_string --match_string="__ADMIN_TOKEN__" --replace_string="$admin_tok ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config" ynh_replace_string --match_string="__WEBSOCKET_PORT__" --replace_string="$websocket_port" --target_file="$config" ynh_replace_string --match_string="__ROCKET_PORT__" --replace_string="$rocket_port" --target_file="$config" -ynh_replace_string --match_string="__APP__" --replace_string="$rocket_port" --target_file="$config" +ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config" #================================================= # STORE THE CONFIG FILE CHECKSUM diff --git a/scripts/upgrade b/scripts/upgrade index 7b8a2eb..277de0a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -155,7 +155,7 @@ ynh_replace_string --match_string="__ADMIN_TOKEN__" --replace_string="$admin_tok ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$config" ynh_replace_string --match_string="__WEBSOCKET_PORT__" --replace_string="$websocket_port" --target_file="$config" ynh_replace_string --match_string="__ROCKET_PORT__" --replace_string="$rocket_port" --target_file="$config" -ynh_replace_string --match_string="__APP__" --replace_string="$rocket_port" --target_file="$config" +ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$config" #================================================= # STORE THE CONFIG FILE CHECKSUM