mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
public commit
This commit is contained in:
13
examples/remix/app/routes/api.$.ts
Normal file
13
examples/remix/app/routes/api.$.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { serve } from "bknd/adapter/remix";
|
||||
|
||||
const handler = serve({
|
||||
connection: {
|
||||
type: "libsql",
|
||||
config: {
|
||||
url: "http://localhost:8080"
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
export const loader = handler;
|
||||
export const action = handler;
|
||||
Reference in New Issue
Block a user