mirror of
https://github.com/YunoHost-Apps/wekan_ynh.git
synced 2024-09-03 20:36:09 +02:00
Fix change URL
This commit is contained in:
parent
47225aa0b5
commit
743021283c
2 changed files with 8 additions and 2 deletions
|
@ -15,7 +15,7 @@
|
||||||
multi_instance=1
|
multi_instance=1
|
||||||
incorrect_path=1
|
incorrect_path=1
|
||||||
port_already_use=1
|
port_already_use=1
|
||||||
change_url=0
|
change_url=1
|
||||||
;;; Levels
|
;;; Levels
|
||||||
Level 1=auto
|
Level 1=auto
|
||||||
Level 2=auto
|
Level 2=auto
|
||||||
|
|
|
@ -92,8 +92,14 @@ fi
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC MODIFICATIONS
|
# SPECIFIC MODIFICATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
# ...
|
# MODIFY URL IN .ENV
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_print_info "Updating .env configuration..."
|
||||||
|
|
||||||
|
ynh_replace_string "__NODEJS_PATH__" "$nodejs_path" "$final_path/.env"
|
||||||
|
ynh_replace_string "__DB_NAME__" "$db_name" "$final_path/.env"
|
||||||
|
ynh_replace_string "__DOMAIN_URI__" "$new_domain$new_path" "$final_path/.env"
|
||||||
|
ynh_replace_string "__PORT__" "$port" "$final_path/.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALISATION
|
# GENERIC FINALISATION
|
||||||
|
|
Loading…
Reference in a new issue