Problem In Deployment - request has been blocked
Good day. I'm trying to deploy on Cloudflare but, the page gets bank and the console gets this message: This request has been blocked; the content must be served over HTTPS.
I tried to deploy using Laravel Open-Admin, and its working, but on Filament, Its not working.
9 Replies
up
What's your
APP_URL
and do you have an ASSET_URL
in .env
?yes sir.
ASSET_URL="${APP_URL}"
Can you please answer all questions?! π
nevermind sir. i found the solution on stackoverflow. i just need to add the 'URL::forceScheme('https');'
Does your app url include https?
yes sir.
Alright, then forceScheme is the best solutions
yes sir.