🐛 The authentication page after startup Alt+M fails https://github.com/siyuan-note/siyuan/issues/9575
This commit is contained in:
parent
5b2b5204b7
commit
de7556c3dd
2 changed files with 2 additions and 1 deletions
|
@ -537,7 +537,7 @@
|
|||
|
||||
await ipcRenderer.invoke("siyuan-init", {
|
||||
languages: {{.trayMenuLangs}},
|
||||
workspaceDir: '/Users/Vanessa/Work/SiYuan',
|
||||
workspaceDir: '{{.workspaceDir}}',
|
||||
port: location.port
|
||||
});
|
||||
ipcRenderer.send("siyuan-hotkey", {
|
||||
|
|
|
@ -351,6 +351,7 @@ func serveCheckAuth(c *gin.Context) {
|
|||
"workspacePath": util.WorkspaceDir,
|
||||
"keymapGeneralToggleWin": keymapHideWindow,
|
||||
"trayMenuLangs": util.TrayMenuLangs[util.Lang],
|
||||
"workspaceDir": util.WorkspaceDir,
|
||||
}
|
||||
buf := &bytes.Buffer{}
|
||||
if err = tpl.Execute(buf, model); nil != err {
|
||||
|
|
Loading…
Add table
Reference in a new issue