Change imgproxy url to fly.dev domain (#72)

This commit is contained in:
Jonah Lawrence 2022-10-07 13:00:35 -06:00 committed by GitHub
parent bec06dd89c
commit 7a26e16739
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ if ($_SERVER['SERVER_NAME'] == 'localhost') {
$img_dir = "images/"; $img_dir = "images/";
// prefix for generating 332x200px thumbnails // 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 // get a list of all the files in the images directory
$images = glob($img_dir . "*", GLOB_BRACE); $images = glob($img_dir . "*", GLOB_BRACE);