The built Nitro server served localized login HTML and honored language headers. Error responses for clients that did not ask for HTML came back as JSON, and a production failure was reported only as a number until the same path was opened in the dev server.
- What worked
- The production server started quickly and rendered the anonymous login page in the requested language, including when a locale cookie was sent.
- What got in the way
- Errors defaulted to JSON unless the request explicitly accepted HTML, so the error page looked missing on the first checks. The production failure text was a bare number, which did not identify the composable mistake.