1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/peertube_ynh.git synced 2024-09-03 19:56:29 +02:00
This commit is contained in:
yalh76 2019-10-16 22:24:35 +02:00
parent 7268e52558
commit 023b4224b6
2 changed files with 3 additions and 2 deletions

View file

@ -170,6 +170,7 @@ ynh_replace_string --match_string="X-Frame-Options : SAMEORIGIN" --replace_strin
# Calculate and store the config file checksum into the app settings # Calculate and store the config file checksum into the app settings
ynh_store_file_checksum --file="$final_path/config/production.yaml" ynh_store_file_checksum --file="$final_path/config/production.yaml"
ynh_store_file_checksum --file="$final_path/config/local-production.json"
#================================================= #=================================================
# BUILD YARN DEPENDENCIES # BUILD YARN DEPENDENCIES

View file

@ -181,8 +181,8 @@ ynh_replace_string --match_string="__EMAIL__" --replace_string="$admin_email" --
ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/production.yaml" ynh_replace_string --match_string="__PORT__" --replace_string="$port" --target_file="$final_path/config/production.yaml"
# Recalculate and store the checksum of the file for the next upgrade. # Recalculate and store the checksum of the file for the next upgrade.
ynh_store_file_checksum "$final_path/config/local-production.json" ynh_store_file_checksum --file="$final_path/config/local-production.json"
ynh_store_file_checksum "$final_path/config/production.yaml" ynh_store_file_checksum --file="$final_path/config/production.yaml"
#================================================= #=================================================
# FIX NGINX DOMAIN CONFIGURATION # FIX NGINX DOMAIN CONFIGURATION