fix: can't open logseq url

Fixes LOG-2969
pull/10770/head
Tienson Qin 2023-12-22 21:59:19 +08:00
parent 2b8f983e3d
commit 0b012b5773
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
([url {:keys [graph] :as opts}]
(let [win-state (windowStateKeeper (clj->js {:defaultWidth 980 :defaultHeight 700}))
native-titlebar? (cfgs/get-item :window/native-titlebar?)
url (if graph (str url "?graph=" graph) url)
url (if graph (str url "#/?graph=" graph) url)
win-opts (cond->
{:backgroundColor "#fff" ; SEE https://www.electronjs.org/docs/latest/faq#the-font-looks-blurry-what-is-this-and-what-can-i-do
:width (.-width win-state)