mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Avoid SSL connection to packages manifest file // Resolve #39
This commit is contained in:
@ -126,7 +126,7 @@ def get_api_result(path, params=None, data=None):
|
|||||||
# if packages - redirect to SF
|
# if packages - redirect to SF
|
||||||
if path == "/packages":
|
if path == "/packages":
|
||||||
r = requests.get(
|
r = requests.get(
|
||||||
"https://sourceforge.net/projects/platformio-storage/files/"
|
"http://sourceforge.net/projects/platformio-storage/files/"
|
||||||
"packages/manifest.json", params=params, headers=headers)
|
"packages/manifest.json", params=params, headers=headers)
|
||||||
elif data:
|
elif data:
|
||||||
r = requests.post(__apiurl__ + path, params=params, data=data,
|
r = requests.post(__apiurl__ + path, params=params, data=data,
|
||||||
|
Reference in New Issue
Block a user