Write plinth api to json file

This commit is contained in:
Bob Mottram 2018-05-26 18:59:04 +01:00
parent 5776a4bb93
commit 601a402bc2
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function android_update_apps {
fi
local_hostname=$(grep 'host-name' /etc/avahi/avahi-daemon.conf | awk -F '=' '{print $2}').local
plinth_api="/var/www/${local_hostname}/htdocs/plinth/api/1"
plinth_api="/var/www/${local_hostname}/htdocs/plinth/api.json"
# Create a self-signed cert if needed
# The FreedomBox app assumes a self-signed cert