mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
replaced remix with react-router
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { getApp } from "~/bknd";
|
||||
|
||||
const handler = async (args: { request: Request }) => {
|
||||
const app = await getApp(args);
|
||||
return app.fetch(args.request);
|
||||
};
|
||||
|
||||
export const loader = handler;
|
||||
export const action = handler;
|
||||
Reference in New Issue
Block a user