From: Sebastien Douheret Date: Thu, 16 Feb 2017 13:15:11 +0000 (+0100) Subject: Set roothttp option for html app X-Git-Tag: x-last-without-systemd~19 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=209fd4c8a7fff7ff0aadd915c072db8e14dc0375 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 --- 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