Skip to content

Commit

Permalink
fix(website): redirect examples/:flavor (#5225)
Browse files Browse the repository at this point in the history
There was an infinite loop on these before, because the last redirect
also was valid for /examples/react-hooks/ for example and caused
infinite redirects before
  • Loading branch information
Haroenv committed Dec 21, 2022
1 parent f802fd0 commit e0b95ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/_redirects
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/ https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/
/examples https://www.algolia.com/doc/guides/building-search-ui/resources/demos/js/
/examples/js https://www.algolia.com/doc/guides/building-search-ui/resources/demos/js/
/examples/:flavor https://www.algolia.com/doc/guides/building-search-ui/resources/demos/:flavor

/examples/:flavor/:name/search/* /examples/:flavor/:name/index.html 200
/examples/:name/* /examples/js/:name/:splat 301
Expand Down

0 comments on commit e0b95ff

Please sign in to comment.