rsnext/errors/render-no-starting-slash.mdx
Delba de Oliveira 44d1a1cb15
docs: Migrate error messages to MDX and App Router. (#52038)
This PR is part of a larger effort to migrate error messages to MDX and
use App Router: https://github.com/vercel/front/pull/23459
2023-07-05 06:11:16 -07:00

11 lines
333 B
Text

---
title: Rendering Without Starting Slash
---
## Why This Error Occurred
When calling `app.render(req, res, path)` the `path` did not begin with a slash (`/`). This causes unexpected behavior and should be corrected.
## Possible Ways to Fix It
Make sure the `path` being passed to `app.render` always starts with a slash (`/`)