mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 14:32:46 +00:00
9 lines
248 B
TypeScript
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;
|