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"