From b18c9d271eb21ab95d707cff60cc74b6cdd216f8 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Tue, 10 Nov 2015 22:28:45 +0000 Subject: [PATCH] uhttpd: add support for configuration option ubus_cors Signed-off-by: Luka Perkov SVN-Revision: 47448 --- package/network/services/uhttpd/files/uhttpd.init | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/uhttpd/files/uhttpd.init b/package/network/services/uhttpd/files/uhttpd.init index d6ffc3b4c9..add09243ec 100755 --- a/package/network/services/uhttpd/files/uhttpd.init +++ b/package/network/services/uhttpd/files/uhttpd.init @@ -80,6 +80,7 @@ start_instance() [ -f /usr/lib/uhttpd_ubus.so ] && { append_arg "$cfg" ubus_prefix "-u" append_arg "$cfg" ubus_socket "-U" + append_bool "$cfg" ubus_cors "-X" 0 } append_arg "$cfg" script_timeout "-t" append_arg "$cfg" network_timeout "-T" -- 2.25.1