Browse Source

Write plinth api to json file

Bob Mottram 6 years ago
parent
commit
601a402bc2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/freedombone-utils-android

+ 1
- 1
src/freedombone-utils-android View File

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