mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 11:17:02 +00:00
11 lines
291 B
TypeScript
11 lines
291 B
TypeScript
|
import type { LoaderFunctionArgs } from '@remix-run/cloudflare';
|
||
|
import { logout } from '~/lib/.server/sessions';
|
||
|
|
||
|
export async function loader({ request, context }: LoaderFunctionArgs) {
|
||
|
return logout(request, context.cloudflare.env);
|
||
|
}
|
||
|
|
||
|
export default function Logout() {
|
||
|
return '';
|
||
|
}
|