Files
CHIEFSOFT\ameye de3eef2365 'production'
2024-01-27 12:44:30 -05:00

38 lines
705 B
PHP

<?php
namespace App\Providers;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Register any application services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
if( env('APP_ENV','production') == 'production') {
\URL::forceScheme('https');
}
// echo env('APP_ENV');
// exit();
// \URL::forceScheme('https');
Schema::defaultStringLength(191);
//config('app.app_env')
}
}