Skip to content
This repository has been archived by the owner on Oct 16, 2023. It is now read-only.

Commit

Permalink
Update v4.0.1
Browse files Browse the repository at this point in the history
Bug Fixes
Sid72020123 authored Dec 24, 2022
1 parent 8dabfe4 commit 17ac961
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions scratchconnect/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__name__ = "scratchconnect"
__version__ = "4.0.0"
__version__ = "4.0.1"
__author__ = "Siddhesh Chavan"
__documentation__ = "https://sid72020123.github.io/scratchconnect/"
__doc__ = f"""
@@ -80,7 +80,8 @@
25/09/2022(v3.9.7) - Bug fixes and Improvements
26/09/2022(v3.9.9) - Fixed many bugs in scCloudRequests
14/12/2022(v4.0.0) - Fixed the arguments bug in the Cloud Requests feature
15/12/2000(v4.0.0) - Bug fixes and improvements in the Cloud Requests feature
15/12/2022(v4.0.0) - Bug fixes and improvements in the Cloud Requests feature
24/12/2022(v4.1) - Bug Fixes
Credits:
All code by Siddhesh Chavan. Thanks to other contributors.
Information:
6 changes: 4 additions & 2 deletions scratchconnect/scOnlineIDE.py
Original file line number Diff line number Diff line change
@@ -12,8 +12,10 @@

def _get(url, params=None, **kwargs):
if urlparse(url).netloc in ["api.scratch.mit.edu", "scratch.mit.edu", "cdn2.scratch.mit.edu"]:
url = "https://sc-proxy.scratchconnect.eu.org/get/" + url
return request("get", url, headers=headers, params=params, **kwargs)
url = "https://sc-proxy.deta.dev/get/" + url

kwargs["headers"] = headers
return request("get", url, params=params, **kwargs)


def _change_request_url():

0 comments on commit 17ac961

Please sign in to comment.