Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes necessary to move onto Netlify #224

Merged
merged 15 commits into from
Sep 4, 2024
64 changes: 64 additions & 0 deletions apps/frontpage/public/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
[[redirects]]
from = "/addons"
to = "https://storybook-addon-catalog.netlify.app/addons"
status = 200

[[redirects]]
from = "/addons/sitemap.xml"
to = "https://storybook-frontpage.netlify.app/addons/sitemap.xml"
status = 200

[[redirects]]
from = "/addons/*"
to = "https://storybook-addon-catalog.netlify.app/addons/:splat"
status = 200

[[redirects]]
from = "/blog/sitemap.xml"
to = "https://storybook-frontpage.netlify.app/blog/sitemap.xml"
status = 200

[[redirects]]
from = "/blog/*"
to = "https://storybook-blog.netlify.app/blog/:splat"
status = 200

[[redirects]]
from = "/day/*"
to = "https://storybook-day-2023.netlify.app/day/:splat"
status = 200

[[redirects]]
from = "/showcase/sitemap.xml"
to = "https://storybook-frontpage.netlify.app/showcase/sitemap.xml"
status = 200

[[redirects]]
from = "/showcase/*"
to = "https://storybook-component-catalog.netlify.app/showcase/:splat"
status = 200

[[redirects]]
from = "/tutorials/sitemap.xml"
to = "https://storybook-frontpage.netlify.app/tutorials/sitemap.xml"
status = 200

[[redirects]]
from = "/tutorials/*"
to = "https://storybook-tutorials.netlify.app/tutorials/:splat"
status = 200

[[redirects]]
from = "/event-log"
to = "https://us-central1-storybook-warehouse.cloudfunctions.net/storybook-event-log-production-event-log"
status = 200

[[redirects]]
from = "/whats-new/v1/*"
to = "https://storybook-dx.netlify.app/.netlify/functions/whats-new/:splat"
status = 200

[[redirects]]
from = "/proxy/api/event"
to = "https://plausible.io/api/event"
status = 200