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