NEAR-Edu / near-certification-tools

2 stars 2 forks source link

Feature/redirect to 404page #41

Closed norrec99 closed 2 years ago

norrec99 commented 2 years ago

Not existing tokenIds will not be rendered on the page, instead, they will be redirected to the 404 page

image

I invalidate one of the certificates with this command

image

If the certificate is invalid, then it will be redirected to 404 page

image

We solved this issue https://github.com/NEAR-Edu/near-certification-tools/issues/32 as a team. Thank you @ozanisgor @rashaabdulrazzak @hiba-machfej

ryancwalsh commented 2 years ago

Very cool. I added a comment about notFound at https://github.com/NEAR-Edu/near-certification-tools/pull/41/commits/e74bc14e43d95d61208ad1baef40a6f474bcc195 because I always like making it easy to view the docs of something unusual.

I'd never heard of it before!

Go team! @norrec99 @ozanisgor @hiba-machfej @rashaabdulrazzak