This commit is contained in:
coolsnowwolf 2018-11-28 18:31:07 +08:00
commit bcee90c6d4

View File

@ -46,7 +46,7 @@ local v2ray = {
streamSettings = {
network = server.transport,
security = (server.tls == '1') and "tls" or "none",
allowInsecure = (server.insecure == "1") and true or false,
tlsSettings = {allowInsecure = (server.insecure == "1") and true or false,},
kcpSettings = (server.transport == "kcp") and {
mtu = tonumber(server.mtu),
tti = tonumber(server.tti),
@ -84,4 +84,4 @@ local v2ray = {
}
}
}
print(json.stringify(v2ray))
print(json.stringify(v2ray))