$ ls resources/views/404.stx
ls: resources/views/404.stx: No such file or directoryThere 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
curl -s <prod>/does-not-exist | head -20to see what ships today.- Add
resources/views/404.stxextending the marketing layout, so a mistyped URL keeps the site chrome and an obvious route home. - 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.