--- import { isExternal } from '@shared/lib/url' // Bare meta-refresh redirect document. interface Props { /** Redirect target. Absolute http(s) URLs are used as-is; relative ones are prefixed with `base`. */ url?: string /** Relative path to the site root from this page. Defaults to ".". */ base?: string } const { url = '', base = '.' } = Astro.props const target = isExternal(url) ? url : `${base}${url}` --- Redirecting…