mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 12:55:57 +03:00
[GH-ISSUE #794] [bug] 开启图床后图片复制到Markdown时链接变成undefined #592
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#592
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fru1ts on GitHub (Dec 8, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/794
Originally assigned to: @codexu on GitHub.
详细描述这个 Bug
正确配置了图床(public仓库),将图片复制到Markdown后链接都是undefined,不会自动把图片上传到图床并获得markdown链接。如果先传图片到图床仓库,再使用NoteGen的Github图床将图片复制为Markdown链接才可正常显示,但这样对于写作不是很友好。
NoteGen 版本
0.22.3
操作系统
Windows
报错日志
GET http://asset.localhost/C%3A%5CUsers%5Cxxxx%5CAppData%5CRoaming%5Ccom.codexu.NoteGen%2Farticle%2F%2Fundefined 500 (Internal Server Error)
@callistoer commented on GitHub (Jan 10, 2026):
NoteGen版本
v0.23.7
操作系统
win11 25H2
问题
和这个bug类似我也有配置完github图床后无法使用的问题
插入 复制截图进入编辑都会显示undefined
但是我不知道如何获取日志来进行debugg
@kingnight commented on GitHub (Jan 17, 2026):
发现一样的问题
@codexu commented on GitHub (Jan 20, 2026):
0e56653d27