mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-02-27 20:53:01 +00:00
remove limit=10 to get all servers
This commit is contained in:
parent
1ae1c16132
commit
791ca3cf8d
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ func (s *NordService) GetCountries() (string, error) {
|
|||
}
|
||||
|
||||
func (s *NordService) GetServers(countryId string) (string, error) {
|
||||
url := fmt.Sprintf("https://api.nordvpn.com/v2/servers?limit=10&filters[servers_technologies][id]=35&filters[country_id]=%s", countryId)
|
||||
url := fmt.Sprintf("https://api.nordvpn.com/v2/servers?limit=0&filters[servers_technologies][id]=35&filters[country_id]=%s", countryId)
|
||||
resp, err := http.Get(url)
|
||||
if err != nil {
|
||||
return "", err
|
||||
|
|
|
|||
Loading…
Reference in a new issue