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); }