Redirect.svelte

Declarations
#

view source

Redirect
#

Redirect.svelte view source

host?

The target host to redirect to. Defaults to the current location.host.

type string
optional

path?

The target path to redirect to. Defaults to the current location.pathname.

type string
optional

auto?

Should the redirect happen automatically without user input? Defaults to true.

type boolean
optional

children?

type Snippet<[url: string]>
optional