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>
#-----------------
text/html
#-----------------
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
/usr/bin/web-runtime http://localhost:%P/%c?token=%S
application/x-executable
#-----------------
text/html
#-----------------
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
http://%%h:%P/%c?token=%S