plinth api directory
This commit is contained in:
parent
b597ac0971
commit
5776a4bb93
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user