Redirect the browser to a new URL, leaving the current URL in the back/forward browser-history.
Absolute or relative URL to redirect to
Optional
Object with all keys to add to the querystring
import { url } from "@hboictcloud/api";url.redirect("profile.html", { id: 15}); Copy
import { url } from "@hboictcloud/api";url.redirect("profile.html", { id: 15});
Generated using TypeDoc
Redirect the browser to a new URL, leaving the current URL in the back/forward browser-history.