Skip to content

Commit ab4618a

Browse files
committed
update
1 parent 946b561 commit ab4618a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

model/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ var GptSupportCountry = []string{
4747

4848
var DiscoveryPlusSupportCountry = []string{
4949
"at", "br", "ca", "dk", "fi", "de", "in", "ie", "it", "nl", "no", "es",
50-
"se", "gb"}
50+
"se", "gb", "us"}
5151

5252
var NLZIETSupportCountry = []string{
5353
"be", "bg", "cz", "dk", "de", "ee", "ie", "el", "es", "fr",

us/DiscoveryPlus.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ func DiscoveryPlus(c *http.Client) model.Result {
7777
exit := utils.GetRegion(loc, model.DiscoveryPlusSupportCountry)
7878
if exit {
7979
if loc == "us" {
80-
return model.Result{Name: name, Status: model.StatusYes, Region: loc + " (origin)"}
80+
return model.Result{Name: name, Status: model.StatusYes, Region: loc + "-origin"}
8181
} else {
82-
return model.Result{Name: name, Status: model.StatusYes, Region: loc + " (global)"}
82+
return model.Result{Name: name, Status: model.StatusYes, Region: loc + "-global"}
8383
}
8484
}
8585
return model.Result{Name: name, Status: model.StatusNo, Region: loc}

us/us_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package us
22

33
import (
44
"fmt"
5-
"github.com/oneclickvirt/UnlockTests/utils"
65
"testing"
6+
7+
"github.com/oneclickvirt/UnlockTests/utils"
78
)
89

910
func Test(t *testing.T) {

0 commit comments

Comments
 (0)