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
path: root/sub
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-02-24 02:49:28 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-02-25 01:38:14 +0300
commite705ae8e48805ff51593f294c8bed3f491a1cf59 (patch)
tree0c710511d60efa83ce7f72b8889fbf409398bba5 /sub
parentc7926d0bc06f2ee712f6850ac58e0e37abc3b898 (diff)
minor changes
Diffstat (limited to 'sub')
-rw-r--r--sub/subJsonService.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/subJsonService.go b/sub/subJsonService.go
index 92519f3e..8bc98dea 100644
--- a/sub/subJsonService.go
+++ b/sub/subJsonService.go
@@ -189,7 +189,7 @@ func (s *SubJsonService) streamData(stream string) map[string]interface{} {
delete(streamSettings, "sockopt")
if s.fragmanet != "" {
- streamSettings["sockopt"] = json_util.RawMessage(`{"dialerProxy": "fragment", "tcpKeepAliveIdle": 100, "TcpNoDelay": true}`)
+ streamSettings["sockopt"] = json_util.RawMessage(`{"dialerProxy": "fragment", "tcpKeepAliveIdle": 100, "tcpNoDelay": true}`)
}
// remove proxy protocol
@@ -218,7 +218,7 @@ func (s *SubJsonService) tlsData(tData map[string]interface{}) map[string]interf
tlsData["serverName"] = tData["serverName"]
tlsData["alpn"] = tData["alpn"]
- if allowInsecure, ok := tlsClientSettings["allowInsecure"].(string); ok {
+ if allowInsecure, ok := tlsClientSettings["allowInsecure"].(bool); ok {
tlsData["allowInsecure"] = allowInsecure
}
if fingerprint, ok := tlsClientSettings["fingerprint"].(string); ok {