Skip to content

Commit

Permalink
test redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Jan 13, 2022
1 parent 1efdb7b commit db470c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
12 changes: 0 additions & 12 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
[[redirects]]
from = "/guide/"
to = "/guide/introduction.html"

[[redirects]]
from = "guide/doc-style-guide.html"
to = "/guide/contributing/doc-style-guide.html"

[[redirects]]
from = "/guide/writing-guide.html"
to = "/guide/contributing/writing-guide.html"

[build.environment]
NODE_VERSION = "16"
NPM_FLAGS = "--version" # prevent Netlify npm install
Expand Down
3 changes: 3 additions & 0 deletions src/public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/guide/ /guide/introduction.html
/v2/* https://v2.vuejs.org/v2/:splat 200
/support-vuejs/ https://v2.vuejs.org/support-vuejs/ 200

0 comments on commit db470c5

Please sign in to comment.