silverwolf-x/project / errors /render-no-starting-slash.mdx
silverwolf-x's picture
download
raw
333 Bytes
---
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 (`/`)

Xet Storage Details

Size:
333 Bytes
·
Xet hash:
2009c6675a450b5025f8c0d07a22b37f12f7d4ea2b2813b1c3e96293cc43ecf3

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.