Skip to content

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

:bug: 设置访问授权码后无法导出 PDF https://github.com/siyuan-note/siyuan/issues/5959

Liang Ding51990554d1cf
diff --git a/kernel/api/export.go b/kernel/api/export.go
index 379c6949be..35e343b565 100644
--- a/kernel/api/export.go
+++ b/kernel/api/export.go
@@ -209,7 +209,7 @@ func exportTempContent(c *gin.Context) {
}
url := path.Join("/export/temp/", filepath.Base(p))
ret.Data = map[string]interface{}{
- "url": url,
+ "url": "http://127.0.0.1:" + util.ServerPort + url,
}
}