My live preview isn't loading. I'm getting the following error:
Mixed Content: The page at 'https://www.site.com/admin/entries/pages/611-title' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://www.site.com/path/title?token=lxDnfeMzRFOM-xI2IylUQZ2r1XkiQlgR'. This request has been blocked; the content must be served over HTTPS
I'm not sure where the http request is coming from though. My env file sets the site url using https, and the Base URL in settings > sites also uses https. Is there another location where Craft could be getting the http from?
UPDATE: I tweaked my htaccess settings, and now I'm getting a different error: [Error] Failed to load resource: the server responded with a status of 500 () (page-title, line 0) https://www.example.com/path/page-title?token=zVyQLpLN9K8fZ9FJKYf6Y6l9gEvHAWts If I try to access the url in the error, I get a HTTP 400 – Bad Request – yii\web\BadRequestHttpException error