fix mixed inbound data for json sub
This commit is contained in:
@@ -126,6 +126,7 @@ export default {
|
||||
HasInData: [
|
||||
InTypes.SOCKS,
|
||||
InTypes.HTTP,
|
||||
InTypes.Mixed,
|
||||
InTypes.Shadowsocks,
|
||||
InTypes.VMess,
|
||||
InTypes.ShadowTLS,
|
||||
|
||||
@@ -15,7 +15,7 @@ export function fillData(out: any, inbound: Inbound, tlsClient: any) {
|
||||
out.server = location.hostname
|
||||
out.server_port = inbound.listen_port
|
||||
switch(inbound.type){
|
||||
case InTypes.HTTP || InTypes.SOCKS:
|
||||
case InTypes.HTTP: case InTypes.SOCKS: case InTypes.Mixed:
|
||||
return
|
||||
case InTypes.Shadowsocks:
|
||||
shadowsocksOut(out, <Shadowsocks>inbound)
|
||||
|
||||
Reference in New Issue
Block a user