Redirect decorator Redirects request to the specified URL. @Redirect(url: string = '', statusCode?: number) Parameters Option Type Description url string Optional. Default is ''. statusCode number Optional. Default is undefined. Returns MethodDecorator