Commit bf46877
committed
Introduce routes for
With the introduction of the new `ErrorController` (e7fe64f), I'm adding the new `MapTopicErrors()` route (4796340), as well as a standard `MapTopicRoute()` for the `Error` root.
The `MapTopicErrors()` configuration will allow routing to `/Error/{statusCode}`, as used by e.g. `UseStatusCodePages()`, while the `MapTopicRoute()` configuration will allow routing to arbitrary pages under `Error`, such as e.g. `/Error/Unauthorized/`.ErrorController
1 parent e52409f commit bf46877
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
| 75 | + | |
73 | 76 | | |
74 | 77 | | |
75 | 78 | | |
| |||
0 commit comments