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:
authorAlireza Ahmadi <alireza7@gmail.com>2025-08-09 17:07:33 +0300
committerAlireza Ahmadi <alireza7@gmail.com>2025-08-09 17:07:33 +0300
commitd5c532c64f1b068cb6baa7c34698059c1abcb8d9 (patch)
treedf948505a35b93f6d30c9558a54170dd5156a461 /web/assets/js
parentad5f774a1e1c27fb39b2f5c7c2d8fe356bbec530 (diff)
fix saving sockopt
Diffstat (limited to 'web/assets/js')
-rw-r--r--web/assets/js/model/inbound.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/assets/js/model/inbound.js b/web/assets/js/model/inbound.js
index aebf321a..803b5d94 100644
--- a/web/assets/js/model/inbound.js
+++ b/web/assets/js/model/inbound.js
@@ -1710,7 +1710,7 @@ class Inbound extends XrayCommonClass {
toJson() {
let streamSettings;
- if (this.canEnableStream()) {
+ if (this.canEnableStream() || this.stream?.sockopt) {
streamSettings = this.stream.toJson();
}
return {