From 10dc99ca83a1d4f4d9fda674e7224c77a73fb269 Mon Sep 17 00:00:00 2001 From: svrnm Date: Mon, 12 Aug 2024 14:46:46 +0200 Subject: [PATCH] add sample redirects Signed-off-by: svrnm --- netlify.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/netlify.toml b/netlify.toml index 611533bfc693..7531adbec9ba 100644 --- a/netlify.toml +++ b/netlify.toml @@ -32,6 +32,18 @@ from = "/go-sources/:name/*" status = 200 # ensure that the URL stays the same, see https://docs.netlify.com/routing/redirects/rewrites-proxies/ to = "/go-sources/:name?s=:splat" +[[redirects]] +from = "/collector-contrib/*" +status = 200 # ensure that the URL stays the same, see https://docs.netlify.com/routing/redirects/rewrites-proxies/ +to = "/go-sources/collector-contrib/?s=:splat" +force = true + +[[redirects]] +from = "/contrib/*" +to = "/go-sources/contrib/?s=:splat" +force = true + + [[headers]] for = "/schemas/:version" [headers.values]