Redirect #

Adds a redirect for a page using a meta tag with the refresh header . Includes a rendered link and JS navigation fallback.

import Redirect from '@ryanatkn/fuz/Redirect.svelte';
<Redirect auto={false} />

redirect to /library/redirect

<Redirect
	host="https://www.felt.dev"
	path="/library"
	let:url
	auto={false}
>
	the redirect url is {url}
</Redirect>
the redirect url is https://www.felt.dev/library