build: fallback for /images/ on mirrors

not routed by cf worker
This commit is contained in:
Ming Di Leom 2024-10-04 22:21:38 +00:00
parent 6e278268a6
commit 764f66341c
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 6 additions and 1 deletions

View File

@ -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