what is this issue about media cannot not load on https #5811
Replies: 2 comments
-
check .env file and set https url to APP_URL parameter and run php artisan optimize:clear |
Beta Was this translation helpful? Give feedback.
-
If you remove env('APP_URL'). from the public disk configuration, then it will render a domain-relative url, which will always use the current domain and protocol. |
Beta Was this translation helpful? Give feedback.
-
Mixed Content: The page at 'https://xxx/admin/media' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://xxx/admin/media/files'. This request has been blocked; the content must be served over HTTPS.
Beta Was this translation helpful? Give feedback.
All reactions