//whoops that wasn't supposed to be pushed!

This commit is contained in:
flash 2019-01-03 02:43:51 +01:00
parent 4fe3c6644d
commit d4a74748d1

View file

@ -9,13 +9,6 @@ $acceptedMimeTypes = [
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'] ?? '');
$proxyHash = $_GET['h'] ?? '';