Author: luka
Date: 2015-11-10 23:28:45 +0100 (Tue, 10 Nov 2015)
New Revision: 47448

Modified:
   trunk/package/network/services/uhttpd/files/uhttpd.init
Log:
uhttpd: add support for configuration option ubus_cors

Signed-off-by: Luka Perkov <[email protected]>

Modified: trunk/package/network/services/uhttpd/files/uhttpd.init
===================================================================
--- trunk/package/network/services/uhttpd/files/uhttpd.init     2015-11-10 
21:11:25 UTC (rev 47447)
+++ trunk/package/network/services/uhttpd/files/uhttpd.init     2015-11-10 
22:28:45 UTC (rev 47448)
@@ -80,6 +80,7 @@
        [ -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"
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to