Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

文档图片地址保留了服务器地址,导致更换域名之后无法访问文档中嵌入的图片 #905

Open
Mrzhuhanxin opened this issue Nov 5, 2023 · 0 comments

Comments

@Mrzhuhanxin
Copy link

Mrzhuhanxin commented Nov 5, 2023

请按照一下格式提交issue,谢谢!

  1. 你当前使用的是哪个版本的 MinDoc(godoc_linux_amd64 version)?
    v2.1和v2.2-beta.1

  2. 你当前使用的是什么操作系统?
    docker

  3. 你是如何操作的?
    使用微信截图,直接保存在文档中

  4. 你期望得到什么结果?
    应当像老版本一样,继续保存嵌入图片的相对路径,而不应该把服务器地址一起保留

  5. 当前遇到的是什么结果?

老版本是保存的图片的相对路径,新版本保存了服务器域名地址,导致换域名之后,图片无法显示,只能把以前的文档中嵌入了图片的地方去除服务器域名地址
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant