We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f50d0c commit e0b3c64Copy full SHA for e0b3c64
src/router/main.ts
@@ -638,7 +638,7 @@ export class Router {
638
* be registered first so that they do not have any domain prefix in case
639
* of a naming conflict.
640
*/
641
- this.routes['root'].forEach((route) => trackRoute.bind(this)(route))
+ this.routes['root']?.forEach((route) => trackRoute.bind(this)(route))
642
domains.forEach((domain) =>
643
this.routes[domain].forEach((route) => trackRoute.bind(this)(route, domain))
644
)
0 commit comments