
Halo, kalau kamu merasa tulisan saya ngebantu kamu, kamu bisa ucapkan terima kasih lewat saweria .
Hello, if you find this article helpful, you can express your gratitude through saweria .
Problem
The application was running, but it could not be used.
-
There were no errors in the app, even after enabling debug (and debugbar).
-
No errors were found in the log (storage/logs/laravel.log).
However, if you enable “Web Developer Tools” and check the “Network” tab, there is an error related to “Mixed Content HTTP & HTTPS.”
How To Solve
- Add a new variable to the .env file:
APP_URL=https://laravel.ipang.my.id #add this ASSET_URL="${APP_URL}" . . . OCTANE_SERVER=roadrunner #add this OCTANE_HTTPS=true
- If you still encounter errors, try recompiling your assets (sass, js, media) in the public directory.
Notes:
- I haven’t changed anything in the code; I just added a new variable to the .env file and recompiled my assets.
References: