Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shaungbhone's avatar

Mix Content HTTP error on inertia app

Hello, today I launched my laravel inertia app on Digital Ocean. I got an error. Btw, how do I prepare the inertia app for production?

"inertiajs/inertia-laravel": "^0.5.4",
"laravel/framework": "^9.19",
Mixed Content: The page at 'https://mywebsite.app/' was loaded over HTTPS, but requested an insecure script 'http://mywebsite.app/build/assets/app.8325e4b6.js'. This request has been blocked; the content must be served over HTTPS.
0 likes
3 replies
shaungbhone's avatar
shaungbhone
OP
Best Answer
Level 28

No one helps, so laracast discussion is what for?. It's okay. I fixed myself. I need to add my ASSERT_URL to the Digital Ocean environment. Thank you.

Please or to participate in this conversation.