ReviewOS

stacks/analyticshq

[views] No 404 page — resources/views/404.stx does not exist

#38
Closed glennmichael123 opened this 9 days ago ·
9 days ago
$ ls resources/views/404.stx
ls: resources/views/404.stx: No such file or directory

There is no not-found view, so an unknown route falls through to whatever the framework's default is. What buddy serve actually returns in production is unverified — I confirmed the file's absence but did not exercise an unknown route against the production server.

Do

  1. curl -s <prod>/does-not-exist | head -20 to see what ships today.
  2. Add resources/views/404.stx extending the marketing layout, so a mistyped URL keeps the site chrome and an obvious route home.
  3. Check the status code is actually 404 and not 200 — a soft 404 is worse than an ugly one, because it gets indexed.

Small, but it is on the public marketing surface where a broken-looking page costs a signup.

Sign in to comment on this issue.