【发布时间】:2021-10-23 22:55:14
【问题描述】:
我有一个包含表单的刀片模板,表单操作是一个带有名称的 Laravel 路由。
<form method="POST" action="{{ route('send-email') }}">
在我的网页上编译时,路由是 http,但我希望它是 https,例如
<form method="POST" action="http://myexamplesite.com/send-email">
如何更改它以使其始终使用 https?
点赞:<form method="POST" action="https://myexamplesite.com/send-email">
我的路线文件:
Route::post('send-user-email', 'SendUserEmailController@store')->name('send-email');
【问题讨论】:
标签: php laravel laravel-blade