mirror of
https://github.com/YunoHost-Apps/kavita_ynh.git
synced 2024-09-03 19:26:30 +02:00
fix
This commit is contained in:
parent
0b889bf96c
commit
1f1e14b5c8
3 changed files with 3 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"TokenKey": "super secret unguessable key",
|
||||
"TokenKey": "__KEY__",
|
||||
"Port": __PORT__,
|
||||
"IpAddresses": "",
|
||||
"BaseUrl": "__URL_PATH__"
|
||||
|
|
|
@ -39,6 +39,7 @@ yunohost service add $app --description="Cross platform reading server" --log="/
|
|||
#=================================================
|
||||
ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||
|
||||
key=$(ynh_string_random --length=24)
|
||||
url_path=${path#/}
|
||||
ynh_add_config --template="../conf/appsettings.json.example" --destination="$install_dir/config/appsettings.json"
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ chmod +x $install_dir/Kavita
|
|||
#=================================================
|
||||
ynh_script_progression --message="Modifying a config file..." --weight=1
|
||||
|
||||
key=$(ynh_string_random --length=24)
|
||||
url_path=${path#/}
|
||||
ynh_add_config --template="../conf/appsettings.json.example" --destination="$install_dir/config/appsettings.json"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue