replace
On this page

replace

Summary

Reference Documentation ↗

A redirect response that will perform a history.replaceState instead of a history.pushState for client-side navigation redirects. Sets the status code and the Location header. Defaults to "302 Found".

Signature

replace(url, init): Response

Params

url

No documentation

init

No documentation

Docs and examples CC 4.0