fixing sqlite imports, clean up bun and cf examples

This commit is contained in:
dswbx
2025-07-02 15:46:57 +02:00
parent 144f35ec66
commit 56287eb05e
11 changed files with 45 additions and 125 deletions

View File

@@ -1,17 +0,0 @@
// @ts-ignore somehow causes types:build issues on app
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: BunBkndConfig = {
adminOptions: {
assets_path: "https://cdn.bknd.io/0.9.0-rc.1/",
},
connection: {
url: "file:data.db",
},
};
serve(config);