From 7a26e167399f016ec11daf186e21bb69aaab9724 Mon Sep 17 00:00:00 2001 From: Jonah Lawrence Date: Fri, 7 Oct 2022 13:00:35 -0600 Subject: [PATCH] Change imgproxy url to fly.dev domain (#72) --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index f325d40..7ae8c07 100644 --- a/index.php +++ b/index.php @@ -12,7 +12,7 @@ if ($_SERVER['SERVER_NAME'] == 'localhost') { $img_dir = "images/"; // prefix for generating 332x200px thumbnails -$imgproxy_prefix = "https://dc1imgproxy.herokuapp.com/x/fill/332/200/sm/0/plain/" . urlencode($base_url . $img_dir); +$imgproxy_prefix = "https://dc1imgproxy.fly.dev/x/rs:auto:332:200:1/plain/" . urlencode($base_url . $img_dir); // get a list of all the files in the images directory $images = glob($img_dir . "*", GLOB_BRACE);