1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/shlink_ynh.git synced 2024-09-03 20:16:22 +02:00
This commit is contained in:
Éric Gaspar 2023-08-14 19:52:46 +02:00
parent 80e55a1669
commit 0583ee5145
2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,6 @@
{
"name": "Main server",
"url": "https://__DOMAIN__",
"apiKey": "__KEY__"
"apiKey": "09c972b7-506b-49f1-a19a-d729e22e599c"
}
]

View file

@ -44,6 +44,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Adding a configuration file..." --weight=2
ynh_add_config --template="../conf/.env-sample" --destination="$install_dir/.env"
ynh_add_config --template="../conf/servers.json" --destination="$install_dir/servers.json"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"