瀏覽代碼

plinth api directory

Bob Mottram 6 年之前
父節點
當前提交
5776a4bb93
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      src/freedombone-utils-web

+ 3
- 3
src/freedombone-utils-web 查看文件

1218
     nginx_ensite "${local_hostname}"
1218
     nginx_ensite "${local_hostname}"
1219
 
1219
 
1220
     # Compatibility with FreedomBox android app
1220
     # Compatibility with FreedomBox android app
1221
-    # The installed apps get published to a json file called "1"
1221
+    # The installed apps get published to a json file called api.json
1222
     # in this directory
1222
     # in this directory
1223
-    if [ ! -d "/var/www/${local_hostname}/htdocs/plinth/api" ]; then
1224
-        mkdir -p "/var/www/${local_hostname}/htdocs/plinth/api"
1223
+    if [ ! -d "/var/www/${local_hostname}/htdocs/plinth" ]; then
1224
+        mkdir -p "/var/www/${local_hostname}/htdocs/plinth"
1225
     fi
1225
     fi
1226
 
1226
 
1227
     chown -R www-data:www-data "/var/www/${local_hostname}/htdocs"
1227
     chown -R www-data:www-data "/var/www/${local_hostname}/htdocs"