How to force Laravel Project to use HTTPS for all routes?
You can set ‘url’ => ‘https://youDomain.com’ in config/app.php or you could use a middleware class Laravel 5 – redirect to HTTPS.
You can set ‘url’ => ‘https://youDomain.com’ in config/app.php or you could use a middleware class Laravel 5 – redirect to HTTPS.
form_for @movie.name should be form_for @movie. I can’t tell what’s going on, but I suspect this is somehow giving you a <form action=””>.
Try adding this:
You can do Express docs: https://expressjs.com/en/api.html#res.redirect
I think you’re missing your routes, you need to define at least one route for example ‘/’ to index. e.g.