mardi 30 janvier 2018

Laravel @ https is not working on server where {!! forms !!} are loaded

I'm continue working with project, which was ignored by developer :(

So, website is already on Server and last thing is turn ON - HTTPS.

I checked, that on localhost everything is working, fine, BUT:

on server, also everything is fine, except {!! forms !!} they are loaded through HTTP, not HTTS

Just, short example on localhost:

<form method="GET" action="https://localhost/users" accept-charset="UTF-8" class="form form-inline executor_search" role="form">

Same example (page) on server:

<form method="GET" action="http://mywebsite/users" accept-charset="UTF-8" class="form form-inline executor_search" role="form">

:(

In config/app.php url is

httpS

In resources/view/layout.blade.php

{secure_asset} to load css and js files.

So, website is loaded over HTTPS everywhere, except pages where forms are displayed

Can anyone help me, please? :(



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire