We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a359b3 commit d697471Copy full SHA for d697471
1 file changed
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