feat: initial persistence (#3)

This commit is contained in:
Kirjava
2024-07-25 14:03:38 +01:00
committed by GitHub
parent 2b1bf0fdaf
commit 5db834e2f7
9 changed files with 249 additions and 51 deletions

View 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;