Added Client V1 API to allow speed tests
This commit is contained in:
@ -20,3 +20,11 @@ def getMapping(ip):
|
||||
|
||||
def getNodes():
|
||||
return ["xe-mci1-us", "ge-fsn1-de", "ge-lax1-us"]
|
||||
|
||||
def getSuffix(ip):
|
||||
info = geoLookup(ip)
|
||||
if not info:
|
||||
return default_suffix
|
||||
if info.CountryCode == "CN":
|
||||
return CHINA_MAINLAND_SUFFIX
|
||||
return GLOBAL_SUFFIX
|
||||
|
Reference in New Issue
Block a user