Skip to content

Commit

Permalink
Remove root redirect and build deploy previews at / (#8664)
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorblades authored Aug 18, 2021
1 parent 70b8424 commit e5c411a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/static/_redirects
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/ /docs/react/

# Redirect all 3.0 beta docs to root
/docs/react/v3.0-beta/* /docs/react/:splat

Expand Down
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
command = "npm run types && gatsby build --prefix-paths && mkdir -p docs/react && mv public/* docs/react && mv docs public/ && mv public/docs/react/_redirects public"
[build.environment]
NPM_VERSION = "6"
[context.deploy-preview]
command = "gatsby build"

0 comments on commit e5c411a

Please sign in to comment.