Skip to content

Commit

Permalink
Merge pull request #454 from weakish/app-router
Browse files Browse the repository at this point in the history
fix: update app router url
  • Loading branch information
weakish authored Apr 8, 2020
2 parents 2e2c150 + c025548 commit 35d4d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leancloud/app_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def get(self, type_):
return self.hosts[type_]

def refresh(self):
url = 'https://app-router.leancloud.cn/2/route?appId={}'.format(self.app_id)
url = 'https://app-router.com/2/route?appId={}'.format(self.app_id)
try:
result = self.session.get(url, timeout=5).json()
with self.lock:
Expand Down

0 comments on commit 35d4d4d

Please sign in to comment.