projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af9dde
)
uhttpd: add support for configuration option ubus_cors
author
Luka Perkov
<luka@openwrt.org>
Fri, 13 Nov 2015 00:39:12 +0000
(
00:39
+0000)
committer
Luka Perkov
<luka@openwrt.org>
Fri, 13 Nov 2015 00:39:12 +0000
(
00:39
+0000)
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 47462
package/network/services/uhttpd/files/uhttpd.init
patch
|
blob
|
history
diff --git
a/package/network/services/uhttpd/files/uhttpd.init
b/package/network/services/uhttpd/files/uhttpd.init
index 7f0d4027f83e50de539323dd616d5f9efd72f763..9bde7e5312e4f05d13ef0072eeba16d7228595af 100755
(executable)
--- 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"