Commit 1b709b2
committed
refactor(router): improve route permission checking and error handling
- Enhance the process of converting allowed route names to their base paths
- Add an assertion to catch configuration errors when a route name is not defined in topLevelPaths
- Maintain the functionality of filtering out null values1 parent 9919096 commit 1b709b2
1 file changed
+10
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
114 | 119 | | |
115 | | - | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
0 commit comments