F
Filamentβ€’6mo ago
EMMAN

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.
No description
9 Replies
EMMAN
EMMANOPβ€’6mo ago
up
Dennis Koch
Dennis Kochβ€’6mo ago
What's your APP_URL and do you have an ASSET_URL in .env?
EMMAN
EMMANOPβ€’6mo ago
yes sir. ASSET_URL="${APP_URL}"
Dennis Koch
Dennis Kochβ€’6mo ago
Can you please answer all questions?! πŸ˜…
EMMAN
EMMANOPβ€’6mo ago
nevermind sir. i found the solution on stackoverflow. i just need to add the 'URL::forceScheme('https');'
Dennis Koch
Dennis Kochβ€’6mo ago
Does your app url include https?
EMMAN
EMMANOPβ€’6mo ago
yes sir.
Dennis Koch
Dennis Kochβ€’6mo ago
Alright, then forceScheme is the best solutions
EMMAN
EMMANOPβ€’6mo ago
yes sir.
Want results from more Discord servers?
Add your server