mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
fix missing __VAPID_PRIVATE_KEY__
This commit is contained in:
parent
f6eb84a96e
commit
384ebfa72c
1 changed files with 2 additions and 2 deletions
|
@ -163,11 +163,11 @@ ynh_app_setting_set --app="$app" --key=secret_key_base --value="$secret_key_base
|
||||||
otp_secret=$(ynh_string_random --length=128)
|
otp_secret=$(ynh_string_random --length=128)
|
||||||
ynh_app_setting_set --app="$app" --key=otp_secret --value="$otp_secret"
|
ynh_app_setting_set --app="$app" --key=otp_secret --value="$otp_secret"
|
||||||
|
|
||||||
ynh_add_config --template="../conf/.env.production.sample" --destination="$config"
|
|
||||||
|
|
||||||
vapid_private_key=""
|
vapid_private_key=""
|
||||||
vapid_public_key=""
|
vapid_public_key=""
|
||||||
|
|
||||||
|
ynh_add_config --template="../conf/.env.production.sample" --destination="$config"
|
||||||
|
|
||||||
ynh_replace_string --match_string="registrations_mode: 'open'" --replace_string="registrations_mode: 'none'" --target_file="$final_path/live/config/settings.yml"
|
ynh_replace_string --match_string="registrations_mode: 'open'" --replace_string="registrations_mode: 'none'" --target_file="$final_path/live/config/settings.yml"
|
||||||
ynh_replace_string --match_string="min_invite_role: 'admin'" --replace_string="min_invite_role: 'none'" --target_file="$final_path/live/config/settings.yml"
|
ynh_replace_string --match_string="min_invite_role: 'admin'" --replace_string="min_invite_role: 'none'" --target_file="$final_path/live/config/settings.yml"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue