summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/unit/binder.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/conf/unit/binder.inc b/conf/unit/binder.inc
index 58f877f..a94e69d 100644
--- a/conf/unit/binder.inc
+++ b/conf/unit/binder.inc
@@ -46,6 +46,7 @@ ENDIF \
ON_VALUE(dbus, --dbus-server={{name}}) \
ON_VALUE(tcp, --ws-server=tcp:{{name}}) \
{{/provided-api}} \
+ ON_PERM(:platform:apis:auto-ws, --auto-api=API_PATH_WS) \
ON_CONTENT(text/html, --exec /usr/bin/web-runtime http://localhost:@p/{{content.src}}?token=@t) \
ON_CONTENT(application/vnd.agl.native, --exec {{:#metadata.install-dir}}/{{content.src}} @p @t)
%nl