feat: initial persistence (#3)
This commit is contained in:
9
packages/bolt/app/routes/chat.$id.tsx
Normal file
9
packages/bolt/app/routes/chat.$id.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user