diff --git a/frontend/src/models/outbound.js b/frontend/src/models/outbound.js index 658555fa..92153b9d 100644 --- a/frontend/src/models/outbound.js +++ b/frontend/src/models/outbound.js @@ -1338,7 +1338,7 @@ export class Outbound extends CommonClass { } static fromLink(link) { - data = link.split('://'); + const data = link.split('://'); if (data.length != 2) return null; switch (data[0].toLowerCase()) { case Protocols.VMess: diff --git a/frontend/src/pages/inbounds/InboundFormModal.vue b/frontend/src/pages/inbounds/InboundFormModal.vue index 12b1ba77..f2fd332c 100644 --- a/frontend/src/pages/inbounds/InboundFormModal.vue +++ b/frontend/src/pages/inbounds/InboundFormModal.vue @@ -579,7 +579,10 @@ watch( - + +