[GH-ISSUE #267] [bug]笔记里的图片使用GitHub图床,图片会token失效加载失败 #199

Closed
opened 2026-03-02 03:38:24 +03:00 by kerem · 5 comments
Owner

Originally created by @private-zmm on GitHub (Jun 13, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/267

详细描述这个 Bug

笔记里的图片使用GitHub图床,图片会token失效加载失败

Image

NoteGen 版本

v0.17.3

操作系统

Windows

报错日志

No response

Originally created by @private-zmm on GitHub (Jun 13, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/267 ### 详细描述这个 Bug 笔记里的图片使用GitHub图床,图片会token失效加载失败 ![Image](https://github.com/user-attachments/assets/3161c587-260a-4c04-8cde-812ce06470d5) ### NoteGen 版本 v0.17.3 ### 操作系统 Windows ### 报错日志 _No response_
kerem 2026-03-02 03:38:24 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@codexu commented on GitHub (Jun 13, 2025):

请检查一下图片仓库内是否已经正确上传了此图片?

<!-- gh-comment-id:2969624610 --> @codexu commented on GitHub (Jun 13, 2025): 请检查一下图片仓库内是否已经正确上传了此图片?
Author
Owner

@private-zmm commented on GitHub (Jun 16, 2025):

请检查一下图片仓库内是否已经正确上传了此图片?

图片仓库里可以预览图片 但是在笔记里失效

Image

Image

<!-- gh-comment-id:2974814978 --> @private-zmm commented on GitHub (Jun 16, 2025): > 请检查一下图片仓库内是否已经正确上传了此图片? 图片仓库里可以预览图片 但是在笔记里失效 ![Image](https://github.com/user-attachments/assets/59b7d08f-f453-4dc3-8cde-53acff9eaf98) ![Image](https://github.com/user-attachments/assets/d66e9938-4240-4c4d-b300-e60f6516940a)
Author
Owner

@codexu commented on GitHub (Jun 16, 2025):

麻烦再测试一下开启 jsDelivr 加速

Image

<!-- gh-comment-id:2974819770 --> @codexu commented on GitHub (Jun 16, 2025): 麻烦再测试一下开启 jsDelivr 加速 ![Image](https://github.com/user-attachments/assets/4f3c1131-0de8-4e30-932f-94cf47a0d881)
Author
Owner

@codexu commented on GitHub (Jun 16, 2025):

我本地测试了一下,基本就是梯子的问题,我如果不开 jsDelivr 本地也无法正常访问,梯子开全局之后发现可以

<!-- gh-comment-id:2974852043 --> @codexu commented on GitHub (Jun 16, 2025): 我本地测试了一下,基本就是梯子的问题,我如果不开 jsDelivr 本地也无法正常访问,梯子开全局之后发现可以
Author
Owner

@private-zmm commented on GitHub (Jun 16, 2025):

找到原因了 是我把图床仓库设置成private,导致笔记插入的图片需要token才能正常访问

<!-- gh-comment-id:2975219476 --> @private-zmm commented on GitHub (Jun 16, 2025): 找到原因了 是我把图床仓库设置成private,导致笔记插入的图片需要token才能正常访问
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#199
No description provided.