S
SolidJS15mo 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
@vxern15mo 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
@vxern15mo ago
@vxern
@vxern15mo ago
// is a valid URL path.
Want results from more Discord servers?
Add your server