mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47: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 path == "/packages":
|
||||
r = requests.get(
|
||||
"https://sourceforge.net/projects/platformio-storage/files/"
|
||||
"http://sourceforge.net/projects/platformio-storage/files/"
|
||||
"packages/manifest.json", params=params, headers=headers)
|
||||
elif data:
|
||||
r = requests.post(__apiurl__ + path, params=params, data=data,
|
||||
|
Reference in New Issue
Block a user