v17development / flarum-blog

The Flarum Blog extension
https://discuss.flarum.org/d/25392-blog-adds-a-blog-section-to-your-community
MIT License
46 stars 20 forks source link

The picture preview of the fof/secure-https plug-in has not been proxied #154

Open huguadao opened 1 year ago

huguadao commented 1 year ago

After the fof/secure-https plug-in is installed and enabled, there is no proxy for the picture preview in the blog list and the header picture of the article page, nor does it display the picture source of http protocol

截屏2022-11-27 22.58.25

截屏2022-11-27 11.51.58

截屏2022-11-27 12.00.20

我同样也在 fof/secure-https 下咨询了这个问题 : https://github.com/FriendsOfFlarum/secure-https/issues/24

huguadao commented 1 year ago

Or should I modify which line of code in which file to change:

background-image:
url("http://bbs.ndsj.com/2022-11-26/1669482319-457168-1667360498-757053-logo.jpg");

To

background-image:
url("https://archibbs.com/api/fof/secure-https?imgurl=http://bbs.ndsj.com/2022-11-26/1669482319-457168-1667360498-757053-logo.jpg");

Prefixes are fixed:

https://archibbs.com/api/fof/secure-https?imgurl=

Thx🙏

截屏2022-11-27 12.00.20