bolt.new/packages/bolt/app/routes/chat.$id.tsx
2024-07-25 14:03:38 +01:00

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;