1<?php
2
3namespace App\Providers;
4
5use Illuminate\Support\ServiceProvider;
6use Illuminate\Support\Facades\Schema;
7
8class AppServiceProvider extends ServiceProvider
9{
10 /**
11 * Bootstrap any application services.
12 *
13 * @return void
14 */
15 public function boot()
16 {
17 if(env('REDIRECT_HTTPS'))
18 {
19 \URL::forceScheme('https');
20 }
21
22 Schema::defaultStringLength(191);
23 }
24
25 /**
26 * Register any application services.
27 *
28 * @return void
29 */
30 public function register()
31 {
32 //
33 }
34}
35