Laravel still generates HTTP URLs when uploading images, even after forcing HTTPS in AppServiceProvi
I'm working on a Laravel project hosted on Railway. I've already configured AppServiceProvider to force HTTPS in production using URL::forceScheme('https'), and I’ve also set the base URL (app.url, asset_url, etc.) to use https.
The site correctly loads all pages and assets over HTTPS. However, when uploading an image, Laravel still generates a public URL that starts with http:// instead of https://.
The image itself uploads correctly and is displayed without issue, but the generated URL uses HTTP, which leads to mixed content warnings in the browser.
1 Reply
you could try this
GitHub
Getting "The POST method is not supported for route admin/login. Su...
Package Panel builder Package Version v3.0.0 How can we help you? I've recently deployed my Filament application to a server, but I'm encountering an error message stating 'The POST met...