forms - Secure route in HTTPS Laravel -


in view page have route:
<form action="{{ route('unisharp.lfm.upload') }}" role='form' id='uploadform' name='uploadform' method='post' enctype='multipart/form-data'>

with https 'mixed-content error'. how can secure route?

use secure_url() instead of route(), replace action url secure one. helper function - secure_url()


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

python - Error: Unresolved reference 'selenium' What is the reason? -

php - Need to store a large amount of data in session with CI 3 but on storing large data in session it is itself destorying automatically -