Files
2026-07-13 12:44:30 +08:00

9 lines
248 B
TypeScript

import { json, type LoaderFunctionArgs } from '@remix-run/cloudflare';
import { default as IndexRoute } from './_index';
export async function loader(args: LoaderFunctionArgs) {
return json({ id: args.params.id });
}
export default IndexRoute;