S
SolidJS17mo ago
@vxern

Navigating to `//` causes an error to be thrown.

Using @solidjs/router, getting a SyntaxError when navigating to a path //, expected to resolve to a NotFound page.
3 Replies
@vxern
@vxernOP17mo ago
<Router>
<Routes>
<Route path="/" component={Home} />
<Route path="*" component={NotFound} />
</Routes>
</Router>
<Router>
<Routes>
<Route path="/" component={Home} />
<Route path="*" component={NotFound} />
</Routes>
</Router>
@vxern
@vxernOP17mo ago
@vxern
@vxernOP17mo ago
// is a valid URL path.
Want results from more Discord servers?
Add your server