added fallback route to server, created extensive setup instructions in docs

This commit is contained in:
dswbx
2024-12-24 16:01:42 +01:00
parent 8ef11aa382
commit 06125f1afe
20 changed files with 564 additions and 174 deletions

View File

@@ -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: {