diff --git a/app/package.json b/app/package.json index f0624c2..fd1460f 100644 --- a/app/package.json +++ b/app/package.json @@ -3,7 +3,7 @@ "type": "module", "sideEffects": false, "bin": "./dist/cli/index.js", - "version": "0.15.0-rc.8", + "version": "0.15.0-rc.10", "description": "Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.", "homepage": "https://bknd.io", "repository": { diff --git a/app/src/adapter/sqlite/bun.ts b/app/src/adapter/sqlite/bun.ts index eaf02c4..6d54918 100644 --- a/app/src/adapter/sqlite/bun.ts +++ b/app/src/adapter/sqlite/bun.ts @@ -1,6 +1,6 @@ import type { Connection } from "bknd/data"; import { bunSqlite } from "../bun/connection/BunSqliteConnection"; -export function sqlite(config: { url: string }): Connection { +export function sqlite(config?: { url: string }): Connection { return bunSqlite(config); } diff --git a/app/src/adapter/sqlite/node.ts b/app/src/adapter/sqlite/node.ts index 7bc6ebd..f14a856 100644 --- a/app/src/adapter/sqlite/node.ts +++ b/app/src/adapter/sqlite/node.ts @@ -1,6 +1,6 @@ import type { Connection } from "bknd/data"; import { nodeSqlite } from "../node/connection/NodeSqliteConnection"; -export function sqlite(config: { url: string }): Connection { +export function sqlite(config?: { url: string }): Connection { return nodeSqlite(config); } diff --git a/app/src/modules/server/AdminController.tsx b/app/src/modules/server/AdminController.tsx index 227e22b..5cb66d6 100644 --- a/app/src/modules/server/AdminController.tsx +++ b/app/src/modules/server/AdminController.tsx @@ -195,7 +195,7 @@ export class AdminController extends Controller { if (isProd) { let manifest: any; if (this.options.assetsPath.startsWith("http")) { - manifest = await fetch(this.options.assetsPath + "manifest.json", { + manifest = await fetch(this.options.assetsPath + ".vite/manifest.json", { headers: { Accept: "application/json", }, diff --git a/bun.lock b/bun.lock index 008d7b4..3a98944 100644 --- a/bun.lock +++ b/bun.lock @@ -15,7 +15,7 @@ }, "app": { "name": "bknd", - "version": "0.15.0-rc.8", + "version": "0.15.0-rc.9", "bin": "./dist/cli/index.js", "dependencies": { "@cfworker/json-schema": "^4.1.1",