Commit be15131
authored
fix: redirect loop (#166)
## Summary by Sourcery
Fixes a redirect loop on the /documentation path by ensuring a trailing
slash is present.
Bug Fixes:
- Fixes a redirect loop by adding a trailing slash to the `basePath` and
introducing a rewrite rule to redirect `/documentation` to
`/documentation/`.
Build:
- Enables `trailingSlash` in the next.config.js file.1 parent bc293c0 commit be15131
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
25 | 34 | | |
26 | 35 | | |
27 | 36 | | |
0 commit comments