I am using Laravel / PHP (and vuejs)
I have no idea what changed, I have been working on https for some months now, and suddently it seems like all redirections are trying to visit http pages instead of https.
For example the login controller
public function redirectTo(){
$type = Auth::user()->type;
switch ($type) {
case 'O':
return '/blabla';
break;
default:
return '/home'; //this page is going to http://mywebsite.com/home instead of https://mywebsite.com/home
break;
}
}
when adding ->secure(), it works, but I don't think I should add it in all my project...
return redirect()->secure('/test');
I'm sorry the error is in french: Blocage du chargement du contenu mixte actif (mixed active content) « http://mywebsite.com/home » TypeError: "NetworkError when attempting to fetch resource." app.js:1:2175324 Blocage d’une requête multiorigines (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://ip2c.org/s. Raison : échec de la requête CORS.
Here is my .env file:
APP_NAME=MYWEBSITE
APP_ENV=production
APP_DEBUG=false
APP_URL=https://mywebsite.com
MIX_APP_URL=https://mywebsite.com
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/39wSdlW
via IFTTT
Do you realize there is a 12 word phrase you can speak to your man... that will trigger intense emotions of love and instinctual appeal to you buried within his chest?
RépondreSupprimerThat's because hidden in these 12 words is a "secret signal" that triggers a man's instinct to love, idolize and protect you with his entire heart...
===> 12 Words Who Fuel A Man's Love Instinct
This instinct is so hardwired into a man's brain that it will make him try harder than before to do his best at looking after your relationship.
Matter of fact, triggering this powerful instinct is so mandatory to getting the best possible relationship with your man that the moment you send your man one of these "Secret Signals"...
...You'll immediately find him expose his soul and heart to you in such a way he never experienced before and he will identify you as the one and only woman in the world who has ever truly tempted him.