mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
moved main pkg back to deps to reduce tarball size + removed zod + cleanup old code + fixed tests
This commit is contained in:
@@ -189,7 +189,11 @@ export class DurableBkndApp extends DurableObject {
|
||||
const config = options.config;
|
||||
|
||||
// change protocol to websocket if libsql
|
||||
if ("type" in config.connection && config.connection.type === "libsql") {
|
||||
if (
|
||||
config?.connection &&
|
||||
"type" in config.connection &&
|
||||
config.connection.type === "libsql"
|
||||
) {
|
||||
config.connection.config.protocol = "wss";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user