From d6adfd6cda95674aa682f766be9113af8a45c43c Mon Sep 17 00:00:00 2001 From: neverland Date: Wed, 28 May 2025 10:32:19 +0800 Subject: [PATCH] docs: update redirect rules order --- website/docs/public/netlify.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/website/docs/public/netlify.toml b/website/docs/public/netlify.toml index e917843bb..e48b5289e 100644 --- a/website/docs/public/netlify.toml +++ b/website/docs/public/netlify.toml @@ -1,11 +1,11 @@ -[[redirects]] -from = "/*" -to = "/404.html" -status = 404 - # Redirect lib.rsbuild.dev to rslib.rs [[redirects]] from = "https://lib.rsbuild.dev/*" to = "https://rslib.rs/:splat" status = 301 force = true + +[[redirects]] +from = "/*" +to = "/404.html" +status = 404