Commit dc8762d
committed
Ensure consistent URL format without trailing slashes in example pages
- Add URL normalization logic to prevent automatic redirects to URLs with trailing slashes
- Update handleExampleSelect function to generate URLs without trailing slash before query parameters
- Implement path normalization to convert /example-detail/?id=... to /example-detail?id=... format
- Add useEffect hook to monitor and correct URL format during navigation and language switching1 parent 40808c2 commit dc8762d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments