optimize security in front codes #1300

This commit is contained in:
Alireza Ahmadi
2023-12-08 16:46:44 +01:00
parent 4ee986aa71
commit 549f230221
3 changed files with 24 additions and 103 deletions
+1 -1
View File
@@ -93,7 +93,7 @@
},
methods: {
streamNetworkChange() {
if (!inModal.inbound.canSetTls()) {
if (!inModal.inbound.canEnableTls()) {
this.inModal.inbound.stream.security = 'none';
}
if (!inModal.inbound.canEnableReality()) {