diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js index d8dc9f72..462cc125 100644 --- a/web/assets/js/model/xray.js +++ b/web/assets/js/model/xray.js @@ -425,7 +425,7 @@ class HttpStreamSettings extends XrayCommonClass { class QuicStreamSettings extends XrayCommonClass { constructor(security=VmessMethods.NONE, - key='', type='none') { + key=RandomUtil.randomSeq(10), type='none') { super(); this.security = security; this.key = key; diff --git a/web/html/xui/form/stream/stream_kcp.html b/web/html/xui/form/stream/stream_kcp.html index 1c7e87bf..0d6df9e3 100644 --- a/web/html/xui/form/stream/stream_kcp.html +++ b/web/html/xui/form/stream/stream_kcp.html @@ -12,7 +12,8 @@
- + +
diff --git a/web/html/xui/form/stream/stream_quic.html b/web/html/xui/form/stream/stream_quic.html index 2dddfd87..53e60b2d 100644 --- a/web/html/xui/form/stream/stream_quic.html +++ b/web/html/xui/form/stream/stream_quic.html @@ -8,7 +8,8 @@ - + +