mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
unified runtime and framework adapters
This commit is contained in:
@@ -4,7 +4,7 @@ import { serve } from "bknd/adapter/node";
|
||||
// serve();
|
||||
|
||||
// this is optional, if omitted, it uses an in-memory database
|
||||
/** @type {import("bknd/adapter/node").NodeAdapterOptions} */
|
||||
/** @type {import("bknd/adapter/node").NodeBkndConfig} */
|
||||
const config = {
|
||||
connection: {
|
||||
type: "libsql",
|
||||
@@ -14,7 +14,7 @@ const config = {
|
||||
},
|
||||
// this is only required to run inside the same workspace
|
||||
// leave blank if you're running this from a different project
|
||||
relativeDistPath: "../../app/dist"
|
||||
distPath: "../../app/dist"
|
||||
};
|
||||
|
||||
serve(config);
|
||||
|
||||
Reference in New Issue
Block a user