From 77c1df99c8e2d92d8954db0435dcc2e884a48f68 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Thu, 15 Aug 2024 02:50:09 -0400 Subject: [PATCH] re-route css, images, etc. --- src/netlify_configs/fakeyou.com/_redirects | 12 +++++++++++- src/netlify_configs/storyteller.ai/_redirects | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/netlify_configs/fakeyou.com/_redirects b/src/netlify_configs/fakeyou.com/_redirects index e6d7f1a4ed..56851632b8 100644 --- a/src/netlify_configs/fakeyou.com/_redirects +++ b/src/netlify_configs/fakeyou.com/_redirects @@ -109,4 +109,14 @@ # Finally, all the website resources (images, # css, scripts) need to be loaded: -#/* /website/:splat 200 +/fakeyou/* /website/fakeyou/:splat 200 +/mascot/* /website/mascot/:splat 200 +/apple-touch-icon.png /website/apple-touch-icon.png 200 +/favicon-32x32.png /website/favicon-32x32.png 200 + +# Ideally we could place all of the above under 'static': +/static/* /website/static/:splat 200 + +# NB: We can't use a root level glob as that blocks +# downstream netlify.toml redirects. +#/* /website/:splat 200 \ No newline at end of file diff --git a/src/netlify_configs/storyteller.ai/_redirects b/src/netlify_configs/storyteller.ai/_redirects index 3744e87a6f..49b88545c1 100644 --- a/src/netlify_configs/storyteller.ai/_redirects +++ b/src/netlify_configs/storyteller.ai/_redirects @@ -108,4 +108,14 @@ # Finally, all the website resources (images, # css, scripts) need to be loaded: -#/* /website/:splat 200 +/fakeyou/* /website/fakeyou/:splat 200 +/mascot/* /website/mascot/:splat 200 +/apple-touch-icon.png /website/apple-touch-icon.png 200 +/favicon-32x32.png /website/favicon-32x32.png 200 + +# Ideally we could place all of the above under 'static': +/static/* /website/static/:splat 200 + +# NB: We can't use a root level glob as that blocks +# downstream netlify.toml redirects. +#/* /website/:splat 200 \ No newline at end of file