Skip to content

Commit

Permalink
修复xtls BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
qist committed Oct 18, 2022
1 parent 498ffd7 commit fe02837
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/assets/js/model/xray.js
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,8 @@ class Inbound extends XrayCommonClass {
default:
return false;
}
return ['tcp','ws','quic','grpc'].indexOf(this.network)!==-1;
//return ['tcp','ws','quic','grpc'].indexOf(this.network)!==-1;
return this.network === "tcp";
}

canEnableStream() {
Expand Down

0 comments on commit fe02837

Please sign in to comment.