fix: Don't use proxy for curl

This commit is contained in:
Nathan Woodburn 2025-03-13 19:43:28 +11:00
parent be885c3f65
commit 524e7f814f
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1
2 changed files with 3 additions and 4 deletions

View File

@ -269,7 +269,7 @@
function getContents($url) {
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_PROXY, "127.0.0.1:8080");
// curl_setopt($curl, CURLOPT_PROXY, "127.0.0.1:8080");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5);
@ -283,7 +283,7 @@
function getContentsWithCode($url) {
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_PROXY, "127.0.0.1:8080");
// curl_setopt($curl, CURLOPT_PROXY, "127.0.0.1:8080");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5);
@ -301,7 +301,7 @@
function getContentsWithSpoof($url) {
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_PROXY, "127.0.0.1:8080");
// curl_setopt($curl, CURLOPT_PROXY, "127.0.0.1:8080");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 5);

View File

@ -269,7 +269,6 @@
</div>
<div class="actions">
<div class="link" data-action="viewVideo">Watch</div>
<!-- <div class="link" data-action="startVideo">Stream</div> -->
<div class="link" data-action="joinVideo">Join</div>
<div class="link destructive" data-action="leaveVideo">Leave</div>
<div class="link destructive" data-action="endVideo">End</div>