Level 102
Try adding cloudflare to trusted proxies https://laravel.com/docs/9.x/requests#configuring-trusted-proxies
I have a link in cloudflare that contains https but when I use paginate in laravel it returns absolute url http
my url:
https://example.com/page
paginate url:
http://example.com/page?page=1
route helper url: // its currect
https://example.com
Information that may help:
vue.m.d2280705.js:32 Mixed Content: The page at 'https://example.com' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://example.com?page=2'. This request has been blocked; the content must be served over HTTPS.
``
Please or to participate in this conversation.