From e6c9bc5597fbe1401147074292f10fb743639162 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Sun, 6 Oct 2024 07:56:48 +0000 Subject: [PATCH] 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 --- source/_redirects | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/_redirects b/source/_redirects index 434a997..4d888fa 100644 --- a/source/_redirects +++ b/source/_redirects @@ -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