mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Update some code for Heroku.
This commit is contained in:
@@ -25,7 +25,7 @@ namespace FireflyIII\Providers;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
use Laravel\Passport\Passport;
|
||||
|
||||
use URL;
|
||||
/**
|
||||
* @codeCoverageIgnore
|
||||
* Class AppServiceProvider.
|
||||
@@ -38,6 +38,9 @@ class AppServiceProvider extends ServiceProvider
|
||||
public function boot(): void
|
||||
{
|
||||
Schema::defaultStringLength(191);
|
||||
if('heroku' === env('APP_ENV')) {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user