import { type LoaderFunctionArgs, redirect } from '@modern-js/runtime/router';
import { resolveURL } from 'ufo';

export const loader = ({ request }: LoaderFunctionArgs) => {
  const target = resolveURL(request.url, './overview');
  return redirect(target);
};
