mirror of
https://github.com/documenso/documenso.git
synced 2025-11-22 04:31:39 +10:00
13 lines
340 B
TypeScript
13 lines
340 B
TypeScript
// Adjust the path as necessary
|
|
import type { ActionFunctionArgs, LoaderFunctionArgs } from '@remix-run/node';
|
|
|
|
import { auth } from '~/lib/auth.server';
|
|
|
|
export function loader({ request }: LoaderFunctionArgs) {
|
|
return auth.handler(request);
|
|
}
|
|
|
|
export function action({ request }: ActionFunctionArgs) {
|
|
return auth.handler(request);
|
|
}
|