v0.5.16a - Fixed SSL bug

This commit is contained in:
Neerholt 2020-08-10 12:44:26 +02:00
parent 2cc78c5d7c
commit c410f3feb6
1 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
if(env('HTTPS_ONLY') == true)
url()->forceScheme('https');
}
}