Commit 4125318
committed
fix(docs): redirect any-case error-code URLs to canonical uppercase
Error reference pages are served at /errors/DFxxxx from the content filenames, so lowercase deep links like /errors/df8111 404. Add a server middleware that 308-redirects any-case DFxxxx error-code paths to their canonical uppercase URL, mirroring the existing trailing-slash middleware.1 parent 26cf0c5 commit 4125318
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments