Skip to content

HAMUR_W1210: The prerender skips a path that route middleware redirects

The prerender skips a path that route middleware redirects. Warning HAMUR_W1210 belongs to hamur, scan, build and dev (1001 – 1999).

Message

text
HAMUR_W1210 Prerender skipped <path> (route middleware redirects it to <target>; middleware depends on the request). Give the route ssr: false to ship it as a client-rendered page.

Cause

Route middleware redirects a path, and middleware depends on the request, so the prerender does not write the path.

Fix

Give the route ssr: false to ship it as a client-rendered page.