mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-18 05:15:28 +08:00
luci-ssr-plus: fix v2ray ws json format issue
This commit is contained in:
parent
9f68660b59
commit
3580e0f1d5
@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=luci-app-ssr-plus
|
PKG_NAME:=luci-app-ssr-plus
|
||||||
PKG_VERSION:=1
|
PKG_VERSION:=1
|
||||||
PKG_RELEASE:=103
|
PKG_RELEASE:=105
|
||||||
|
|
||||||
PKG_CONFIG_DEPENDS:= CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks \
|
PKG_CONFIG_DEPENDS:= CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_Shadowsocks \
|
||||||
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_V2ray \
|
CONFIG_PACKAGE_$(PKG_NAME)_INCLUDE_V2ray \
|
||||||
|
@ -59,7 +59,7 @@ local v2ray = {
|
|||||||
type = server.kcp_guise
|
type = server.kcp_guise
|
||||||
}
|
}
|
||||||
} or nil,
|
} or nil,
|
||||||
wsSettings = (server.transport == "ws") and {
|
wsSettings = (server.transport == "ws") and (server.ws_path ~= nil or server.ws_host ~= nil) and {
|
||||||
path = server.ws_path,
|
path = server.ws_path,
|
||||||
headers = (server.ws_host ~= nil) and {
|
headers = (server.ws_host ~= nil) and {
|
||||||
Host = server.ws_host
|
Host = server.ws_host
|
||||||
|
Loading…
x
Reference in New Issue
Block a user