craft.minimee
craft.minimee copied to clipboard
Minimee does not seem to honor https set in site configuration
in general.php
we have a snippet like this:
'mysite.com' => array(
'environmentVariables' => array(
'baseUrl' => 'https://mysite.com'
));
And in General site settings
we set siteUrl to {baseUrl}
but minimee does not seem to honor this as we get http:// urls back.
Base URL
in the minimee plugin is left blank.
Any advice? Using minimee 0.9.8, craft 2.6.2950
To clarify, the minified css is served correctly over https, but contains http:// links when the original css contains relative urls ('//foobar.com')
I have the same problem with https if i specify a cache path and cache URL. The plugin then ignores https and converts relative image urls to absolute urls with http://.
Hi both - can you provide me with an example of how you're using Minimee in Twig?
While there is a config option cssPrependUrl
which, if specified to include the SSL protocol, should fix things for you, I'm curious as to the underlying reason why the siteUrl
value, if over HTTPS, isn't being passed down correctly.