From 455dbb81a4df4828eb41ad03febca3a515ffb062 Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Tue, 30 Jul 2024 14:48:39 -0400 Subject: [PATCH] fix build script? --- scripts/ci/build-fakeyou.com.sh | 6 +++++- src/netlify_configs/fakeyou.com/_redirects | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts/ci/build-fakeyou.com.sh b/scripts/ci/build-fakeyou.com.sh index 2003ae6e3..ad0a9d697 100755 --- a/scripts/ci/build-fakeyou.com.sh +++ b/scripts/ci/build-fakeyou.com.sh @@ -51,7 +51,11 @@ echo "Copying blog artifacts..." mv src/gatsby-blog/public/ fakeyou.com/build/blog/ echo "Copying website artifacts..." -mv src/website/packages/fakeyou.com/build/ fakeyou.com/build/website/ +#mv src/website/packages/fakeyou.com/build/ fakeyou.com/build/website/ +mv src/website/packages/fakeyou.com/build/ fakeyou.com/build/ echo "Copying redirects configuration to Netlify build dir..." cp src/netlify_configs/fakeyou.com/_redirects fakeyou.com/build/ + +echo "List files in build directory" +find fakeyou.com/build diff --git a/src/netlify_configs/fakeyou.com/_redirects b/src/netlify_configs/fakeyou.com/_redirects index ae5567990..46e4ee99a 100644 --- a/src/netlify_configs/fakeyou.com/_redirects +++ b/src/netlify_configs/fakeyou.com/_redirects @@ -1,7 +1,8 @@ # We can't redirect everything until legacy vocodes is dead # Website redirects -/ /website/index.html 200 +/ /index.html 200 +/tts* /index.html 200 /about* /website/index.html 200 /acting-face* /website/index.html 200 /ai-face-mirror* /website/index.html 200 @@ -63,7 +64,6 @@ /testing* /index.html 200 /text-to-image* /index.html 200 /tools* /index.html 200 -/tts* /index.html 200 /tts_configs* /index.html 200 /twitch* /index.html 200 /upload* /index.html 200