Commit 60c23d4
authored
fix: append a
Most hosting providers HTTP redirect `mysite.com/docs/search?q=test` to `mysite.com/docs/search/?q=test`... except S3 which tosses out the query string and redirects to `mysite.com/docs/search/`.
Rather than relying on the backend redirect to work, tweak the link here on the frontend to already contain the slash suffixed path./ to the search link. (#432)1 parent c359957 commit 60c23d4
File tree
1 file changed
+1
-1
lines changed- docusaurus-search-local/src/client/theme/SearchBar
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| |||
0 commit comments