mirror of
https://github.com/YunoHost-Apps/snipeit_ynh.git
synced 2024-09-03 20:26:16 +02:00
Change url fix
This commit is contained in:
parent
f4a790ff70
commit
f3fb00a50d
1 changed files with 5 additions and 0 deletions
|
@ -23,6 +23,11 @@ ynh_replace_string --target_file="$install_dir/.env" \
|
|||
--match_string="APP_URL=https://$old_domain" \
|
||||
--replace_string="APP_URL=https://$new_domain"
|
||||
|
||||
pushd "$install_dir"
|
||||
ynh_exec_as "$app" "php$phpversion" artisan config:clear -n
|
||||
ynh_exec_as "$app" "php$phpversion" artisan config:cache -n
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue