mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
parent
7287729b8e
commit
d1d9b7a3b2
2 changed files with 1 additions and 5 deletions
|
|
@ -603,10 +603,6 @@ const initKernel = (initData) => {
|
|||
}
|
||||
|
||||
const getKernelPort = async () => {
|
||||
if (isDevEnv) {
|
||||
return kernelPort
|
||||
}
|
||||
|
||||
await sleep(200)
|
||||
let gotPort = false
|
||||
let count = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue