Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 8b92e0d

Browse files
committed
deployment bug fix
1 parent 29a8caf commit 8b92e0d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/src/lib/aisearch/dbWorker.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { createDbWorker } from "sql.js-httpvfs";
2+
import { SplitFileConfig } from "sql.js-httpvfs/dist/sqlite.worker";
23

34
let dbInstance: any = null;
45

@@ -14,8 +15,8 @@ export async function getDbWorker() {
1415
import.meta.url
1516
);
1617

17-
const config = {
18-
from: "inline",
18+
const config: SplitFileConfig = {
19+
from: "inline" as const,
1920
config: {
2021
serverMode: "full",
2122
requestChunkSize: 4096,

0 commit comments

Comments
 (0)