From 764f66341c659288d1236cf0d3deb31f1cfad206 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Fri, 4 Oct 2024 22:21:38 +0000 Subject: [PATCH] build: fallback for /images/ on mirrors not routed by cf worker --- source/_redirects | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/_redirects b/source/_redirects index 94180c1..c741894 100644 --- a/source/_redirects +++ b/source/_redirects @@ -1,4 +1,9 @@ -# Reverse proxy to cdn +/microblog/* https://mdleom.com/microblog/:splat 200 +# Fallback for non-cf-worker-routed mirrors +/images/320/* https://curben.gitlab.io/blog/:splat 200 +/images/468/* https://curben.gitlab.io/blog/:splat 200 +/images/768/* https://curben.gitlab.io/blog/:splat 200 +/images/* https://curben.gitlab.io/blog/:splat 200 /img/* https://curben.gitlab.io/blog/:splat 200 /files/* https://curben.gitlab.io/blog/:splat 200 # https://statically.discourse.group/t/mobile-version-not-working-on-screenshot/225