File size: 318 Bytes
5db834e
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
import type { LoaderFunctionArgs } from '@remix-run/cloudflare';
import { default as IndexRoute } from './_index';
import { handleAuthRequest } from '~/lib/.server/login';

export async function loader(args: LoaderFunctionArgs) {
  return handleAuthRequest(args, { id: args.params.id });
}

export default IndexRoute;