From b984069d64b2fc405ae106facdfbb326ac8a6796 Mon Sep 17 00:00:00 2001 From: Ari Archer Date: Sun, 20 Feb 2022 02:23:41 +0200 Subject: [PATCH] update @ Sun 20 Feb 02:23:41 EET 2022 Signed-off-by: Ari Archer --- netlify.toml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/netlify.toml b/netlify.toml index 434f7ca..0d1d9d2 100644 --- a/netlify.toml +++ b/netlify.toml @@ -41,9 +41,10 @@ status = 301 force = true +# https://answers.netlify.com/t/how-do-i-do-cross-domain-redirects-to-github-repositories-from-netlify/52258/2?u=b00bleatea [[redirects]] - from = "/git" - to = "https://github.com/TruncatedDinosour/website" + from = "/git/*" + to = "https://github.com/TruncatedDinosour/:splat" status = 301 force = true @@ -83,9 +84,10 @@ status = 302 force = false +# https://answers.netlify.com/t/how-do-i-do-cross-domain-redirects-to-github-repositories-from-netlify/52258/2?u=b00bleatea [[redirects]] - from = "/gh/:project" - to = "https://github.com/TruncatedDinosour/:project" + from = "/gh/*" + to = "https://github.com/TruncatedDinosour/:splat" status = 301 force = true