-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
在非 127.0.0.1 的地址上运行 kernel,并使用 --args --remote=... 启动本地客户端,在导出 PDF 时崩溃。
是因为在 kernel 中 ExportTempContent 这个 API 直接返回了 localhost 的 URL 给 Electron 前端,而在前端中加载导出窗口时,直接尝试加载该 url,而 kernel 又不在 127.0.0.1 运行,导致崩溃。
解决方案的话,可能需要在 kernel 中添加一个环境变量选项,设置 bindAddr 的实际地址,在各种 URL 拼接中不使用 127.0.0.1 而是这个 bindAddr.
Expected result
正常启动。
Screenshot or screen recording presentation
No response
Version environment
- Version: 3.0.0
- Operating System: Debian12 & Windows11
- Browser (if used):Log file
见上文
More information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
