Przeglądaj źródła

Write plinth api to json file

Bob Mottram 7 lat temu
rodzic
commit
601a402bc2
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      src/freedombone-utils-android

+ 1
- 1
src/freedombone-utils-android Wyświetl plik

32
     fi
32
     fi
33
 
33
 
34
     local_hostname=$(grep 'host-name' /etc/avahi/avahi-daemon.conf | awk -F '=' '{print $2}').local
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
     # Create a self-signed cert if needed
37
     # Create a self-signed cert if needed
38
     # The FreedomBox app assumes a self-signed cert
38
     # The FreedomBox app assumes a self-signed cert