Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:recycle:

Vanessa52ba6b6297b1
diff --git a/app/electron/main.js b/app/electron/main.js
index 879e407c49..4ce2df45d2 100644
--- a/app/electron/main.js
+++ b/app/electron/main.js
@@ -220,9 +220,8 @@ const boot = () => {
})
// 加载主界面
- const loadURL = 'http://127.0.0.1:6806/stage/build/app/index.html?v=' +
- new Date().getTime()
- mainWindow.loadURL(loadURL)
+ mainWindow.loadURL('http://127.0.0.1:6806/stage/build/app/index.html?v=' +
+ new Date().getTime())
// 菜单
const productName = 'SiYuan'
@@ -699,4 +698,4 @@ powerMonitor.on('resume', () => {
powerMonitor.on('shutdown', () => {
writeLog("system shutdown");
fetch('http://127.0.0.1:6806/api/system/exit', {method: 'POST'})
-})
\ No newline at end of file
+})