mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
This commit is contained in:
parent
9743702a79
commit
cca4eeb207
2 changed files with 2 additions and 2 deletions
|
|
@ -362,7 +362,7 @@
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
// 防止内核长时间不用被回收
|
// 防止内核长时间不用被回收
|
||||||
new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws`);
|
new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws?app=siyuan&id=init`);
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -496,7 +496,7 @@
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 防止内核长时间不用被回收
|
// 防止内核长时间不用被回收
|
||||||
new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws`);
|
new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws?app=siyuan&id=auth`);
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue