config: allows "standard" types 43/6143/2 2.0.1 2.0.2 blowfish_2.0.1 blowfish_2.0.2
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 19 Jul 2016 08:43:54 +0000 (10:43 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 19 Jul 2016 09:30:31 +0000 (11:30 +0200)
The standard types for HTML (text/html) and QML (text/vnd.qt.qml)
should be available.

This is needed for 3 reasons:
 - installing existing demos
 - installing almost standard HTML widgets
 - the current default type is text/html

Change-Id: I9fa418b1c995663ac4120d3e0bdb42def3ab166e
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
conf/afm-launch.conf.in

index aa1812c..60d204b 100644 (file)
@@ -18,7 +18,6 @@
 mode local
 #-----------------
 
-# keep for compatibility purposes
 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/web-runtime http://localhost:%P/%c?token=%S
@@ -36,6 +35,7 @@ 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
        %r/%c %P %S
 
+text/vnd.qt.qml
 application/vnd.agl.qml
        /usr/bin/qt5/qmlscene -fullscreen -I %r -I %r/imports %r/%c