mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
fix: update database URL to remove 'file:' prefix in examples
This commit is contained in:
@@ -6,7 +6,7 @@ import { type BunBkndConfig, serve } from "bknd/adapter/bun";
|
|||||||
// this is optional, if omitted, it uses an in-memory database
|
// this is optional, if omitted, it uses an in-memory database
|
||||||
const config: BunBkndConfig = {
|
const config: BunBkndConfig = {
|
||||||
connection: {
|
connection: {
|
||||||
url: "file:data.db",
|
url: "data.db",
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
media: {
|
media: {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import { serve } from "bknd/adapter/node";
|
|||||||
/** @type {import("bknd/adapter/node").NodeBkndConfig} */
|
/** @type {import("bknd/adapter/node").NodeBkndConfig} */
|
||||||
const config = {
|
const config = {
|
||||||
connection: {
|
connection: {
|
||||||
url: "file:data.db",
|
url: "data.db",
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
media: {
|
media: {
|
||||||
|
|||||||
Reference in New Issue
Block a user