F
Filament12mo ago
ПIᄃK

SpatieMediaLibraryFileUpload not loading in production

Hello, I want to deploy my website in production but I noticed that my imaged arent shown after uploading and reopening the window Did anyone have an Idea why? everything works fine on development just the production isnt working there Ive already done php artisan storage:link
No description
No description
4 Replies
awcodes
awcodes12mo ago
Are you seeing any console errors for the images? Make sure all of your .env settings are correct too.
ПIᄃK
ПIᄃKOP12mo ago
In my oppinion the .env is correct but im getting some console errors:
No description
awcodes
awcodes12mo ago
That’s saying that your images are being served with http instead of https. Either something is off in your flysystem config for the disk or your .env APP_URL is wrong.
ПIᄃK
ПIᄃKOP12mo ago
Ive just changed the http to https in my .env and it worked. Im just a bit confused because its also working with http on another productive project with http in the .env but thank you so mich!
Want results from more Discord servers?
Add your server