mirror of
https://github.com/scratchfoundation/scratch-blocks.git
synced 2025-08-10 21:18:53 -04:00
Switch build to HTTPS
See https://github.com/google/blockly/issues/1399 and https://github.com/google/blockly/pull/1402
This commit is contained in:
parent
b48b0dc67e
commit
caea22c3da
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