Skip to content

Commit 50a9774

Browse files
committed
fix: respect existing desktop transport preference
1 parent cad2485 commit 50a9774

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src-tauri/src/bridge_bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@
703703
try {
704704
const storage = window.localStorage;
705705
if (!storage) return;
706-
if (storage.getItem(CHAT_TRANSPORT_MODE_STORAGE_KEY)) return;
706+
if (storage.getItem(CHAT_TRANSPORT_MODE_STORAGE_KEY) !== null) return;
707707
storage.setItem(
708708
CHAT_TRANSPORT_MODE_STORAGE_KEY,
709709
CHAT_TRANSPORT_MODE_WEBSOCKET,

0 commit comments

Comments
 (0)