uhttpd: add support for configuration option ubus_cors
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 47448
This commit is contained in:
parent
99af1cf410
commit
b18c9d271e
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue