Update .env.example to reflect new config values

This commit is contained in:
Miguel Nogueira 2020-06-27 22:22:33 +01:00
parent 33c16fcf46
commit 9ec2f9edce
2 changed files with 17 additions and 0 deletions

View File

@ -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

View File

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