Functionsredirectredirect Callableredirect(...args: [options: { destination: string; isPermanent?: boolean }]): Promise<void>Redirects the user to the given destination. On the server side a 307 or 308 (depending on the isPermanent flag) redirect response is generated. On the client side a window.location.href change is performed.Parametersrest...args: [options: { destination: string; isPermanent?: boolean }]Returns Promise<void>
Redirects the user to the given destination. On the server side a 307 or 308 (depending on the isPermanent flag) redirect response is generated. On the client side a window.location.href change is performed.