fix: serve UI through desktop tunnels

Fixes headless page appearing when opening tunneled desktop URLs
Keeps packaged desktop UI while allowing HTTP tunnel access
This commit is contained in:
Bohdan Triapitsyn
2026-06-03 12:21:30 +03:00
parent c7bc026b4b
commit c4798aa7f1
+1 -1
View File
@@ -1065,7 +1065,7 @@ const spawnLocalServer = async () => {
uiPassword: desktopUiPassword || null,
attachSignals: false,
exitOnShutdown: false,
apiOnly: shouldUsePackagedUi() && !lanAccessEnabled,
apiOnly: false,
onDesktopNotification: (payload) => maybeShowNativeNotification(payload),
getIsWindowFocused: isAnyWindowFocused,
});