mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Reconfigure the way we pass Sentry DSN
This commit is contained in:
parent
9215f895c2
commit
2975adc0e5
@ -30,6 +30,7 @@ return [
|
||||
'phantomjs_key' => env('PHANTOMJS_KEY', false),
|
||||
'phantomjs_secret' => env('PHANTOMJS_SECRET', false),
|
||||
|
||||
'sentry_dsn' => env('SENTRY_LARAVEL_DSN', 'https://b36c3ae4f26b45689bc3d4e3774fb303@sentry.invoicing.co/4'),
|
||||
'environment' => env('NINJA_ENVIRONMENT', 'selfhost'), // 'hosted', 'development', 'selfhost', 'reseller'
|
||||
|
||||
// Settings used by invoiceninja.com
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
return [
|
||||
|
||||
'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
|
||||
|
||||
//'dsn' => env('SENTRY_LARAVEL_DSN', env('SENTRY_DSN')),
|
||||
'dsn' => config('ninja.sentry_dsn'),
|
||||
// capture release as git sha
|
||||
// 'release' => trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')),
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user