mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 22:42:21 +00:00
10 lines
318 B
TypeScript
10 lines
318 B
TypeScript
|
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;
|