http instead of https production issue
Currently have my .env set to "production" instead of "local" for my APP_ENV. However, in my admin panel, none of the js is working for the table due to this:
Really confused whats going on
3 Replies
And what is your APP_URL ?
https
I think I found it. Similiar to a different issue, but same fix. Just had to add "*" to the $proxies in the TrustProxies middleware
Working now
With the latest Laravel 11 update, the way to do this has changed slightly, see https://laravel.com/docs/11.x/requests#configuring-trusted-proxies
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.