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

python - RuntimeError: can't re-enter readline -

python - PyInstaller UAC not working in onefile mode -

ios - Pass NSDictionary from Javascript to Objective-c in JavascriptCore -