mirror of
https://github.com/Stone-Red-Code/website.git
synced 2026-09-05 07:56:15 +02:00
feat(404): allow for suffix of matching to be passed in to make archive matches more accurate
This commit is contained in:
committed by
Jean-Philippe Sirois
parent
56df4abeb6
commit
a796facdb1
@@ -13,7 +13,9 @@ export default ({ data }: ComponentQuery<{ allFile: FileConnection }>) => (
|
||||
<h1>RESOURCE NOT FOUND</h1>
|
||||
<p>You just hit a route that doesn't exist... the sadness.</p>
|
||||
<Location>
|
||||
{({ location }) => getPossibleCorrections("resources", location, data, 8)}
|
||||
{({ location }) =>
|
||||
getPossibleCorrections("resources/", location, data, 8)
|
||||
}
|
||||
</Location>
|
||||
</Fragment>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user