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? -

asp.net ajax - Jquery scroll to element just goes to top of page -