Initial commit
This commit is contained in:
30
app/Providers/AppServiceProvider.php
Executable file
30
app/Providers/AppServiceProvider.php
Executable file
@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
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 ($this->app->environment("production")) {
|
||||
$this->app["request"]->server->set("HTTPS", "on");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user