From ff105d4429b600584d55b5cd4dfcdfe1a63ca036 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 23 Feb 2022 12:31:50 +0100 Subject: [PATCH] Several fixes --- conf/default.json | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/default.json b/conf/default.json index c1f9b6e..14e2038 100644 --- a/conf/default.json +++ b/conf/default.json @@ -4,7 +4,7 @@ "host": "localhost", "port": __PORT__, - "endpoint": "https://__DOMAIN__/__PATH__", + "endpoint": "https://__DOMAIN____PATH__", "invite_code": "__INVITE_SECRET__", "storage_dialect": "sqlite", diff --git a/scripts/install b/scripts/install index 54a83c1..7cbdbec 100755 --- a/scripts/install +++ b/scripts/install @@ -134,7 +134,7 @@ api_secret=$(ynh_string_random --length=32) ynh_app_setting_set --app=$app --key=invite_secret --value=$invite_secret ynh_app_setting_set --app=$app --key=api_secret --value=$api_secret -ynh_add_config --template="default.json" --destination="$final_path/config/default.json" +ynh_add_config --template="../conf/default.json" --destination="$final_path/config/default.json" chmod 400 "$final_path/config/default.json" chown $app:$app "$final_path/config/default.json"