//whoops that wasn't supposed to be pushed!
This commit is contained in:
parent
4fe3c6644d
commit
d4a74748d1
1 changed files with 0 additions and 7 deletions
|
@ -9,13 +9,6 @@ $acceptedMimeTypes = [
|
||||||
|
|
||||||
header('Cache-Control: max-age=600');
|
header('Cache-Control: max-age=600');
|
||||||
|
|
||||||
if (!empty($_GET['t'])) {
|
|
||||||
$_hash = hash_hmac('sha256', $_GET['t'], $proxySecret);
|
|
||||||
$_url = rawurlencode($_GET['t']);
|
|
||||||
header("Location: /proxy.php?u={$_url}&h={$_hash}");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
$proxyUrl = rawurldecode($_GET['u'] ?? '');
|
$proxyUrl = rawurldecode($_GET['u'] ?? '');
|
||||||
$proxyHash = $_GET['h'] ?? '';
|
$proxyHash = $_GET['h'] ?? '';
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue