diff --git a/netlify.toml b/netlify.toml index 5bac9868b..ae627d403 100644 --- a/netlify.toml +++ b/netlify.toml @@ -8,6 +8,12 @@ functions = "functions/" NPM_VERSION = "10.8.1" # Redirects for routing +[[redirects]] + from = "https://kmesh-net.netlify.app/*" + to = "https://kmesh.net/:splat" + status = 301 + force = true + [[redirects]] from = "/latestversion" to = "/.netlify/functions/latestversion" @@ -20,8 +26,3 @@ functions = "functions/" status = 301 force = true # Ensure redirection -[[redirects]] - from = "https://kmesh.net" - to = "https://kmesh-net.netlify.app" - status = 200 - force = true