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

从http转到https时图片存储的链接依然是http的 #32

Closed
elmagnificogi opened this issue Feb 27, 2023 · 3 comments
Closed

从http转到https时图片存储的链接依然是http的 #32

elmagnificogi opened this issue Feb 27, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@elmagnificogi
Copy link

elmagnificogi commented Feb 27, 2023

从http转到https时图片存储的链接依然是http的,有啥办法都转换过来吗?

image

用https是能正常访问的,http的老链接也是可以的,只是这个存储的这个连接好像不会跟随你的http变化

@elmagnificogi elmagnificogi added the enhancement New feature or request label Feb 27, 2023
@staugur
Copy link
Member

staugur commented Feb 27, 2023

意思是访问图床是https,这些图片是正常上传的还是导入的?

@elmagnificogi
Copy link
Author

是以前用http的时候通过picgo上传的,都是正常的
现在切换到了https,但是这里显示的链接没变
我如果用https上传,那么显示就是https,所以这里应该是存储的当时上传的那个链接?

@staugur
Copy link
Member

staugur commented Feb 28, 2023

是的,sapic不止存储到本地,更多是第三方,上传后就确定了URL写在数据库的,后期前端页面改成https的话,,,要想替换,得更新数据库里面的字段信息。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants