mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-28 22:10:31 -04:00
Merge pull request #1189 from LLK/bugfix/closure_https
Switch build to HTTPS
This commit is contained in:
commit
d87583f0a9
1 changed files with 1 additions and 1 deletions
2
build.py
2
build.py
|
@ -287,7 +287,7 @@ class Gen_compressed(threading.Thread):
|
|||
def do_compile(self, params, target_filename, filenames, remove):
|
||||
# Send the request to Google.
|
||||
headers = {"Content-type": "application/x-www-form-urlencoded"}
|
||||
conn = httplib.HTTPConnection("closure-compiler.appspot.com")
|
||||
conn = httplib.HTTPSConnection("closure-compiler.appspot.com")
|
||||
conn.request("POST", "/compile", urllib.urlencode(params), headers)
|
||||
response = conn.getresponse()
|
||||
json_str = response.read()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue