This is the code that generates an URL that is using http:// :( How to modify it to use https://?
$("#download-p-xls").click(function(){
window.location = '{$page_url}{if $search_values}&{else}?{/if}action=p_save';
});
Getting console error:
Mixed Content: The site at 'https://www.example.com/' was loaded over a secure connection, but the file at 'https://www.example.com/page1?action=p_save' was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.