Skip to content

Commit

Permalink
ci(cloudflare): modify rules of cloudflare redirect pages
Browse files Browse the repository at this point in the history
  • Loading branch information
innocces committed Jan 14, 2024
1 parent 69a897e commit f57871f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _redirects
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
/ /site

/vue/pages/:type/:index* /vue/index.html?type=:type&hook=:index
/vue/pages/:type/:index/:second* /vue/index.html?type=:type&hook=:index&sub=:second
/vue/pages/:type/:index/:second/:main* /vue/index.html?type=:type&hook=:index&sub=:second&function=:main

/react/pages/:type/:index* /react/index.html?type=:type&hook=:index
/react/pages/:type/:index/:second* /react/index.html?type=:type&hook=:index&sub=:second
/react/pages/:type/:index/:second/:main* /react/index.html?type=:type&hook=:index&sub=:second&function=:main

1 comment on commit f57871f

@vercel
Copy link

@vercel vercel bot commented on f57871f Jan 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.