79465224

Date: 2025-02-25 01:53:43
Score: 1
Natty:
Report link

The correct way of doing it according to the docs is

---
if(notFound) {
   return Astro.rewrite("/404");
}
---
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Carlos Dubón