fix(subscribeLogic): correct protocol JSON formatting and add server ID
This commit is contained in:
parent
c835e751ac
commit
6c7d45a640
@ -249,8 +249,9 @@ func (l *SubscribeLogic) createExpiredServers() []*node.Node {
|
|||||||
Port: 18080,
|
Port: 18080,
|
||||||
Address: "127.0.0.1",
|
Address: "127.0.0.1",
|
||||||
Server: &node.Server{
|
Server: &node.Server{
|
||||||
|
Id: 1,
|
||||||
Name: "Subscribe Expired",
|
Name: "Subscribe Expired",
|
||||||
Protocols: "[{\"type:\"\"shadowsocks\",\"cipher\":\"aes-256-gcm\",\"port\":1}]",
|
Protocols: "[{\"type\":\"shadowsocks\",\"cipher\":\"aes-256-gcm\",\"port\":1}]",
|
||||||
},
|
},
|
||||||
Protocol: "shadowsocks",
|
Protocol: "shadowsocks",
|
||||||
Enabled: &enable,
|
Enabled: &enable,
|
||||||
@ -261,8 +262,9 @@ func (l *SubscribeLogic) createExpiredServers() []*node.Node {
|
|||||||
Port: 18080,
|
Port: 18080,
|
||||||
Address: "127.0.0.1",
|
Address: "127.0.0.1",
|
||||||
Server: &node.Server{
|
Server: &node.Server{
|
||||||
|
Id: 1,
|
||||||
Name: "Subscribe Expired",
|
Name: "Subscribe Expired",
|
||||||
Protocols: "[{\"type:\"\"shadowsocks\",\"cipher\":\"aes-256-gcm\",\"port\":1}]",
|
Protocols: "[{\"type\":\"shadowsocks\",\"cipher\":\"aes-256-gcm\",\"port\":1}]",
|
||||||
},
|
},
|
||||||
Protocol: "shadowsocks",
|
Protocol: "shadowsocks",
|
||||||
Enabled: &enable,
|
Enabled: &enable,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user