From 5776a4bb936fd8989c3e4ed751e3888753ffe4be Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 26 May 2018 18:58:13 +0100 Subject: [PATCH] plinth api directory --- src/freedombone-utils-web | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index 8e0fc008..b06476d3 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -1218,10 +1218,10 @@ function install_web_local_user_interface { nginx_ensite "${local_hostname}" # Compatibility with FreedomBox android app - # The installed apps get published to a json file called "1" + # The installed apps get published to a json file called api.json # in this directory - if [ ! -d "/var/www/${local_hostname}/htdocs/plinth/api" ]; then - mkdir -p "/var/www/${local_hostname}/htdocs/plinth/api" + if [ ! -d "/var/www/${local_hostname}/htdocs/plinth" ]; then + mkdir -p "/var/www/${local_hostname}/htdocs/plinth" fi chown -R www-data:www-data "/var/www/${local_hostname}/htdocs"