From 9ec2f9edceb9a8fdce131fec07914a49f2aa0caa Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Sat, 27 Jun 2020 22:22:33 +0100 Subject: [PATCH] Update .env.example to reflect new config values --- .env.example | 12 ++++++++++++ app/Providers/AppServiceProvider.php | 5 +++++ 2 files changed, 17 insertions(+) diff --git a/.env.example b/.env.example index 1f60e7f..2911eda 100644 --- a/.env.example +++ b/.env.example @@ -21,6 +21,18 @@ RECAPTCHA_VERIFY_URL="https://www.google.com/recaptcha/api/siteverify" IPGEO_API_KEY="" IPGEO_API_URL="" +MOJANG_STATUS_URL="https://status.mojang.com/check" +MOJANG_API_URL="https://api.mojang.com" + +IPGEO_API_KEY="" +IPGEO_API_URL="" + +ARCANEDEV_LOGVIEWER_MIDDLEWARE=web,auth,can:admin.maintenance.logs.view + +RELEASE=staffmanagement@0.1.0 + +SLACK_INTEGRATION_WEBHOOK= + BROADCAST_DRIVER=log CACHE_DRIVER=file QUEUE_CONNECTION=sync diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 8415cad..5c82792 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -6,6 +6,7 @@ use App\Observers\UserObserver; use App\User; use Illuminate\Support\Facades\Schema; use Illuminate\Support\ServiceProvider; +use Sentry; class AppServiceProvider extends ServiceProvider { @@ -26,6 +27,10 @@ class AppServiceProvider extends ServiceProvider */ public function boot() { + Sentry\init([ + 'release' => env('RELEASE') + ]); + Schema::defaultStringLength(191); User::observe(UserObserver::class); }