FunkyBohh
Member
- Jun 21, 2011
- 181
- 6
Go to your .env file and find force https and set it to true.I'm having a issue I got everything working correctly but when I load the Nitro client, I get a error because for some reason it try's to pull a "http" link when on Cloudflare I won't allow "http" only "HTTPS". I can't find the code anywhere to change the "http" to "https"
here is a snippet in the Google Chrome console;
Code:function getOnlineUserCount() { --THIS IS WHERE I NEED TO CHANGE TO "HTTPS" FROM "HTTP"--- fetch('http://MYHOTEL.ORG/api/online-count') .then(function(response) { return response.json(); }) .then(function(response) { document.getElementById('online-count').innerHTML = response.data.onlineCount;