Closed HCl-not-HCi closed 4 years ago
Hi,
Thanks for the PR.
Can you please also create a PR for the documentation changes?
You can find the documentation here:
I added the options to the Configuration table: https://github.com/noxify/webstone.info/pull/2
Thanks @HCl-not-HCi
@HCl-not-HCi - new version 1.2.0
is now available at npm :)
Thank you :)
Hi, I added two new configuration options to the plugin because I needed to download images from a CMS that is located on a host in the local network (whithout using HTTPS). In the current version of the plugin, URLs that contain a private IP address or the hostname "localhost" are ignored, i.e. images are not downloaded. Also, all URLs are rewritten from "http://example.com" to "https://example.com".
So I added these new options:
Boolean
true
Boolean
false
The default values are chosen in a way so that the behaviour of the plugin stays the same as before if the options are omitted.
I think other people may run into the same problem, so I created this PR.