[fix] Save redirect_type default value. #1

This commit is contained in:
opi 2016-11-23 21:53:14 +01:00
parent 771b6ae9e6
commit b9633e1357

View file

@ -29,6 +29,7 @@ redirect_path=$(ynh_app_setting_get "$app" redirect_path)
if [ -z "$redirect_type" ];
then
redirect_type="proxy"
ynh_app_setting_set $app 'redirect_type' $redirect_type
fi
# Remove trailing slash to path