Skip to content

Commit

Permalink
Move to netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
cdedreuille committed Sep 3, 2024
1 parent 31c0d6b commit 84b2d58
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 9 deletions.
9 changes: 0 additions & 9 deletions apps/frontpage/public/_redirects

This file was deleted.

49 changes: 49 additions & 0 deletions apps/frontpage/public/netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
[[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/*"
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/*"
to = "https://storybook-component-catalog.netlify.app/showcase/:splat"
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

0 comments on commit 84b2d58

Please sign in to comment.