mirror of
https://github.com/XrayR-project/XrayR.git
synced 2025-06-08 05:19:54 +00:00
parent
a0378b6cff
commit
3de7600a4c
@ -60,7 +60,7 @@ func New(apiConfig *api.Config) *APIClient {
|
|||||||
if apiConfig.NodeType =="V2ray" && apiConfig.EnableVless {
|
if apiConfig.NodeType =="V2ray" && apiConfig.EnableVless {
|
||||||
nodeType = "vless"
|
nodeType = "vless"
|
||||||
} else {
|
} else {
|
||||||
nodeType = "vmess"
|
nodeType = strings.ToLower(apiConfig.NodeType)
|
||||||
}
|
}
|
||||||
// Create Key for each requests
|
// Create Key for each requests
|
||||||
client.SetQueryParams(map[string]string{
|
client.SetQueryParams(map[string]string{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user