Answer the question
In order to leave comments, you need to log in
Laravel on heroku scripting and routing?
I am doing an educational project. On the LAN everything is fine, the scripts are connected. I upload it to Heroku, it doesn’t pick up scripts there because I connect it via asset(), but on Heroku https and scripts and styles via asset are connected with http.
Ok, there is secure_asset() but it's not convenient to change it for LAN and Heroku. And how else then to be with route () there is also http.
I thought to replace APP_URL = https//domian with heroku in the config did not work. Then I kind of found that I need to change APP_ENV from local to prodaction and it will work, but it doesn't work ....
How can I fix this?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question