has been resolved! This happened because my laravel asset file was produced as http, the solution was to change to https. This is because heroku uses https, if using http on heroku the browser will block the requestπ
Hi, how were you able to change http to https and new in Heroku just help
In your blade template file where your app.js is imported, change asset() to secure_asset().
HELLO, I DONT HAVE THE asset() :3 please help me
please replyyy
do you have an app.blade.php file in resources/views? look in there for link and script tags.
okay wait a minute
i searched it, it has many asset() tho, some are css bootstrap etc
asset('js/bootstra') }}
is this one your referring to? i cant send the asset. it is hidden
yes. change them all to secure_asset( ... ).
I am glad you were able to resolve it π
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
has been resolved! This happened because my laravel asset file was produced as http, the solution was to change to https. This is because heroku uses https, if using http on heroku the browser will block the requestπ
Hi, how were you able to change http to https and new in Heroku just help
In your blade template file where your app.js is imported, change asset() to secure_asset().
HELLO, I DONT HAVE THE asset() :3 please help me
please replyyy
do you have an app.blade.php file in resources/views? look in there for link and script tags.
okay wait a minute
i searched it, it has many asset() tho, some are css bootstrap etc
asset('js/bootstra') }}
is this one your referring to? i cant send the asset. it is hidden
yes. change them all to secure_asset( ... ).
I am glad you were able to resolve it π