mirror of
https://github.com/YunoHost-Apps/reverseproxy_ynh.git
synced 2024-09-03 20:16:23 +02:00
[fix] Save redirect_type default value. #1
This commit is contained in:
parent
771b6ae9e6
commit
b9633e1357
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ redirect_path=$(ynh_app_setting_get "$app" redirect_path)
|
||||||
if [ -z "$redirect_type" ];
|
if [ -z "$redirect_type" ];
|
||||||
then
|
then
|
||||||
redirect_type="proxy"
|
redirect_type="proxy"
|
||||||
|
ynh_app_setting_set $app 'redirect_type' $redirect_type
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Remove trailing slash to path
|
# Remove trailing slash to path
|
||||||
|
|
Loading…
Reference in a new issue