Force scheme https always
This commit is contained in:
parent
134e353a39
commit
79f9b67d3e
1 changed files with 2 additions and 3 deletions
|
|
@ -29,9 +29,8 @@ class AppServiceProvider extends ServiceProvider
|
|||
public function boot()
|
||||
{
|
||||
Paginator::useBootstrap();
|
||||
if (config('app.env') !== 'local') {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
|
||||
URL::forceScheme('https');
|
||||
|
||||
if (config('app.env') === 'local') {
|
||||
setlocale(LC_TIME, strtoupper(config('app.locale')) . "_" . config('app.locale') . '.utf8');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue