diff --git a/public/proxy.php b/public/proxy.php index f6f11ba3..3656f679 100644 --- a/public/proxy.php +++ b/public/proxy.php @@ -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'] ?? '';