mirror of
https://github.com/YunoHost-Apps/lidarr_ynh.git
synced 2024-09-03 19:35:58 +02:00
Initialize $path_url and $path in change_url
We should really have one instead of two of these...
This commit is contained in:
parent
55f5402bce
commit
dcf2f13403
1 changed files with 4 additions and 0 deletions
|
@ -88,8 +88,12 @@ then
|
||||||
# Set global variables for NGINX helper
|
# Set global variables for NGINX helper
|
||||||
domain="$old_domain"
|
domain="$old_domain"
|
||||||
path_url="$new_path"
|
path_url="$new_path"
|
||||||
|
path="$new_path"
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
else
|
||||||
|
path_url="$old_path"
|
||||||
|
path="$old_path"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change the domain for NGINX
|
# Change the domain for NGINX
|
||||||
|
|
Loading…
Reference in a new issue