mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-15 20:17:22 +00:00
added fallback route to server, created extensive setup instructions in docs
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
// @ts-ignore somehow causes types:build issues on app
|
||||
import { type BunAdapterOptions, serve } from "bknd/adapter/bun";
|
||||
import { type BunBkndConfig, serve } from "bknd/adapter/bun";
|
||||
|
||||
// Actually, all it takes is the following line:
|
||||
// serve();
|
||||
|
||||
// this is optional, if omitted, it uses an in-memory database
|
||||
const config: BunAdapterOptions = {
|
||||
const config: BunBkndConfig = {
|
||||
connection: {
|
||||
type: "libsql",
|
||||
config: {
|
||||
|
||||
Reference in New Issue
Block a user