Skip to content

Commit

Permalink
更新API接口地址 (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
aozima committed Jan 18, 2022
1 parent 4d367a3 commit 73662a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmds/cmd_package/cmd_package_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def get_url_from_mirror_server(package_name, package_version):
payload["packages"][0]['name'] = package_name

try:
r = requests.post("http://packages.rt-thread.org/packages/queries", data=json.dumps(payload))
r = requests.post("https://api.rt-thread.org/packages/queries", data=json.dumps(payload))

if r.status_code == requests.codes.ok:
package_info = json.loads(r.text)
Expand Down

0 comments on commit 73662a6

Please sign in to comment.