یلدا ادامه داره... ❤️ ۴۰ درصد تخفیف همه دورهها
استفاده از تخفیفهاI solved this later, just in case anyone has a similar problem in the future, I discovered the AppServiceProvider class had a register method where a security interception middleware was registered to force every http request to https. so what I did was write an if-else logic to allow this only on production since my localhost had no ssl certificate.
in app/providers/AppServiceProvider.php
look for the register() method, the implement the logic by checking tha app is local or not. The isLocal() function checks your .env file for APP_ENV variable and returns true if is local, so you reconfirm again that that is set to local and be sure to clear any previous configuration cache.
//check that app is local
if ($this->app->isLocal()) {
//if local register your services you require for development
$this->app->register('Barryvdh\Debugbar\ServiceProvider');
}else{
//else register your services you require for production
$this->app['request']->server->set('HTTPS', true);
}
https://stackoverflow.com/questions/57617864/how-to-fix-invalid-request-unsupported-ssl-request
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟