mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 11:17:02 +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;
|