aboutsummaryrefslogtreecommitdiffstats
path: root/conf/afm-launch.conf.in
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-02-16 14:15:11 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-02-16 14:49:40 +0100
commit209fd4c8a7fff7ff0aadd915c072db8e14dc0375 (patch)
treedae999c6cae9d5a9697868829a977a96c17b557b /conf/afm-launch.conf.in
parentbacef782bf950abedce2edb81b7c4901ac258a42 (diff)
Set roothttp option for html app
roothttp option (see commit dc011f99aed9407c8319b1b70a81f56ad2f02bc8) must be set to a valid directory (for example . that's mean roodir) in order to serve static files of html5 app. Change-Id: I13a17f6699298a80a346dbb6b4c3ecb6ab236bd6 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf/afm-launch.conf.in')
-rw-r--r--conf/afm-launch.conf.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/afm-launch.conf.in b/conf/afm-launch.conf.in
index b467ccd..70083f3 100644
--- a/conf/afm-launch.conf.in
+++ b/conf/afm-launch.conf.in
@@ -19,7 +19,7 @@ mode local
#-----------------
text/html
- /usr/bin/afb-daemon --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
+ /usr/bin/afb-daemon --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --roothttp=. --token=%S --sessiondir=%D/.afb-daemon
/usr/bin/web-runtime http://localhost:%P/%c?token=%S
application/x-executable
@@ -52,6 +52,6 @@ mode remote
#-----------------
text/html
- /usr/bin/afb-daemon --mode=remote --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --token=%S --sessiondir=%D/.afb-daemon
+ /usr/bin/afb-daemon --mode=remote --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --roothttp=. --token=%S --sessiondir=%D/.afb-daemon
http://%%h:%P/%c?token=%S