Skip to content

Commit

Permalink
create-phar: uses https
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Mar 23, 2018
1 parent 47e06a5 commit 002b44d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/create-phar/create-phar.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
function compressJs($s)
{
if (function_exists('curl_init')) {
$curl = curl_init('http://closure-compiler.appspot.com/compile');
$curl = curl_init('https://closure-compiler.appspot.com/compile');
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, 'output_info=compiled_code&js_code=' . urlencode($s));
Expand Down

0 comments on commit 002b44d

Please sign in to comment.