44d1a1cb15
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
11 lines
333 B
Text
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 (`/`)
|