Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-05-13 12:51:27 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-13 12:51:27 +0300
commitedd6b22109accd41ee664f0ee988651ba31bb098 (patch)
tree5a27688ddb701d68b646b6aa083f62aaede15225 /web/assets/js/model
parent5468069befd602a7ae51deb5b76150ee16d426d6 (diff)
remove duplicate remark assignments
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/assets/js/model')
-rw-r--r--web/assets/js/model/xray.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/assets/js/model/xray.js b/web/assets/js/model/xray.js
index a32ba2f6..2954957c 100644
--- a/web/assets/js/model/xray.js
+++ b/web/assets/js/model/xray.js
@@ -1487,7 +1487,7 @@ class Inbound extends XrayCommonClass {
params.set("flow", this.settings.trojans[clientIndex].flow);
}
- const link = `trojan://${settings.trojans[clientIndex].password}@${address}:${this.port}#${encodeURIComponent(remark)}`;
+ const link = `trojan://${settings.trojans[clientIndex].password}@${address}:${this.port}`;
const url = new URL(link);
for (const [key, value] of params) {
url.searchParams.set(key, value)