1
0
Fork 0
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:
tituspijean 2021-12-02 10:27:55 +01:00 committed by GitHub
parent 55f5402bce
commit dcf2f13403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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