From 9f74c6befad89a6fb18eac5a8cff3d5ec5ad1408 Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Fri, 16 Aug 2024 13:17:04 -0500 Subject: [PATCH 1/2] feat: add redirect for oscr.me to DevCard --- netlify.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/netlify.toml b/netlify.toml index 9ba4c89c6..303adc163 100644 --- a/netlify.toml +++ b/netlify.toml @@ -32,3 +32,15 @@ deno_import_map = "./netlify/edge-functions/deno.json" to = "https://beta.app.opensauced.pizza/:splat" status = 301 force = true + +[[redirects]] + from = "https://oscr.me" + to = "https://app.opensauced.pizza/u/zeucapua/card" + status = 301 + force = true + +[[redirects]] + from = "https://oscr.me/:username" + to = "https://app.opensauced.pizza/u/:username/card" + status = 301 + force = true \ No newline at end of file From 7ef0f4b5fc76827ff8f359a1e107d78d291f0be1 Mon Sep 17 00:00:00 2001 From: Brandon Roberts Date: Fri, 16 Aug 2024 13:34:35 -0500 Subject: [PATCH 2/2] chore: remove default redirect --- netlify.toml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/netlify.toml b/netlify.toml index 303adc163..7286decb7 100644 --- a/netlify.toml +++ b/netlify.toml @@ -33,12 +33,6 @@ deno_import_map = "./netlify/edge-functions/deno.json" status = 301 force = true -[[redirects]] - from = "https://oscr.me" - to = "https://app.opensauced.pizza/u/zeucapua/card" - status = 301 - force = true - [[redirects]] from = "https://oscr.me/:username" to = "https://app.opensauced.pizza/u/:username/card"