fix: path-level rewrite

gitlab pages does not support domain-level rewrite
https://docs.gitlab.com/ee/user/project/pages/redirects.html#debug-redirect-rules
This commit is contained in:
Ming Di Leom 2024-10-06 07:56:48 +00:00
parent 400cceb783
commit e6c9bc5597
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 6 additions and 6 deletions

View File

@ -1,11 +1,11 @@
/microblog/* https://mdleom.com/microblog/:splat 200
# Fallback for non-cf-worker-routed mirrors
/images/320/* https://curben.gitlab.io/:splat 200
/images/468/* https://curben.gitlab.io/:splat 200
/images/768/* https://curben.gitlab.io/:splat 200
/images/* https://curben.gitlab.io/:splat 200
/img/* https://curben.gitlab.io/:splat 200
/files/* https://curben.gitlab.io/:splat 200
/images/320/* /:splat 200
/images/468/* /:splat 200
/images/768/* /:splat 200
/images/* /:splat 200
/img/* /:splat 200
/files/* /:splat 200
# https://statically.discourse.group/t/mobile-version-not-working-on-screenshot/225
# /screenshot/* https://cdn.statically.io/screenshot/device=mobile/curben.netlify.app/:splat 200
/screenshot/* https://cdn.statically.io/screenshot/curben.netlify.app/:splat 200