aboutsummaryrefslogtreecommitdiffstats
path: root/proxy.php
diff options
context:
space:
mode:
authorSquibid <me@zacharyscheiman.com>2023-10-09 09:05:46 -0400
committerSquibid <me@zacharyscheiman.com>2023-10-09 09:05:46 -0400
commit333a112ff6bf3341d20cdab61cbb83109df123a7 (patch)
tree31a8788abadbd2436e9a6bf4136ab9e44abcea19 /proxy.php
parent90c0f3e92db08ac780cbc48ac5eca570ee9350ce (diff)
downloadwallheaven-333a112ff6bf3341d20cdab61cbb83109df123a7.tar.gz
wallheaven-333a112ff6bf3341d20cdab61cbb83109df123a7.tar.bz2
wallheaven-333a112ff6bf3341d20cdab61cbb83109df123a7.zip
cleanup some unneeded things
Diffstat (limited to '')
-rw-r--r--proxy.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/proxy.php b/proxy.php
index 6dd4690..7c41d0d 100644
--- a/proxy.php
+++ b/proxy.php
@@ -8,9 +8,8 @@
die();
}
try {
- if (!isset($_GET["s"]) || $_GET["s"] == "original") {
+ if (!isset($_GET["s"]) || $_GET["s"] == "original")
$proxy->stream_linear_image($_GET["i"]);
- }
} catch (Exception $error) {
header("X-Error: " . $error->getMessage());
$proxy->do404();