We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6a359b3 + d697471 commit 82f48c5Copy full SHA for 82f48c5
leancloud/client.py
@@ -114,7 +114,7 @@ def new_func(*args, **kwargs):
114
115
def get_url(part):
116
# try to use the base URL from environ
117
- url = os.environ.get("LC_API_SERVER") or os.environ.get("LEANCLOUD_API_SERVER")
+ url = os.environ.get("LEANCLOUD_API_SERVER") or os.environ.get("LC_API_SERVER")
118
if url:
119
return "{}/{}{}".format(url, SERVER_VERSION, part)
120
0 commit comments