aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2016-08-31 14:44:04 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2016-08-31 14:44:04 +0200
commit628dc10767d95436538391534dc3c95f45fe9a3a (patch)
treeafc44172c9f73a8dfff1eb539a753f0cf49068e5
parent373b10369b60cf2bfa54388197c05a09ef32de41 (diff)
Use of the new 'roothttp' option
The new option 'roothttp' set the root directory that the HTTP part of the binder serves. Its default value is ".". Using this option, the content accessible through HTTP can be a subdirectory of the root and in the same time, the application data are available in the root directory. Change-Id: I30d5f78eb2fe500b840fe0f4869d3e54be69c3cf Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--conf/afm-launch.conf.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/afm-launch.conf.in b/conf/afm-launch.conf.in
index 60d204b..a70fd60 100644
--- a/conf/afm-launch.conf.in
+++ b/conf/afm-launch.conf.in
@@ -29,10 +29,10 @@ application/vnd.agl.url
/usr/bin/web-runtime %c
application/vnd.agl.service
- /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/%c --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
+ /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/%c --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --roothttp=htdocs --token=%S --sessiondir=%D/.afb-daemon
application/vnd.agl.native
- /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
+ /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --roothttp=htdocs --token=%S --sessiondir=%D/.afb-daemon
%r/%c %P %S
text/vnd.qt.qml
@@ -40,11 +40,11 @@ application/vnd.agl.qml
/usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c
application/vnd.agl.qml.hybrid
- /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
+ /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --roothttp=htdocs --token=%S --sessiondir=%D/.afb-daemon
/usr/bin/qt5/qmlscene %P %S -fullscreen -I %r -I %r/imports %r/%c
application/vnd.agl.html.hybrid
- /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r/htdocs --token=%S --sessiondir=%D/.afb-daemon
+ /usr/bin/afb-daemon --ldpaths=@CMAKE_INSTALL_FULL_LIBDIR@/afb:%r/lib --mode=local --readyfd=%R --alias=/icons:%I --port=%P --rootdir=%r --roothttp=htdocs --token=%S --sessiondir=%D/.afb-daemon
/usr/bin/web-runtime http://localhost:%P/%c?token=%S
#-----------------