diff --git a/scratchconnect/__init__.py b/scratchconnect/__init__.py index bd73341..202120a 100644 --- a/scratchconnect/__init__.py +++ b/scratchconnect/__init__.py @@ -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: diff --git a/scratchconnect/scOnlineIDE.py b/scratchconnect/scOnlineIDE.py index fa5a2af..067b115 100644 --- a/scratchconnect/scOnlineIDE.py +++ b/scratchconnect/scOnlineIDE.py @@ -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():