Skip to content

Commit

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

/docs/rover/essentials/ /docs/rover/conventions/
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@
ignore = "false"

command = "gatsby build --prefix-paths && mkdir -p docs/rover && mv public/* docs/rover && mv docs public/ && mv public/docs/rover/_redirects public"

[context.deploy-preview]
command = "gatsby build"

0 comments on commit b6b18cc

Please sign in to comment.