use config instead of env()
This commit is contained in:
@@ -29,6 +29,7 @@ return [
|
||||
|
||||
'pusher' => [
|
||||
'host' => env('PUSHER_HOST'),
|
||||
'port' => env('PUSHER_PORT'),
|
||||
'app_key' => env('PUSHER_APP_KEY'),
|
||||
],
|
||||
|
||||
@@ -56,20 +57,6 @@ return [
|
||||
],
|
||||
],
|
||||
|
||||
'waitlist' => [
|
||||
'enabled' => env('WAITLIST', true),
|
||||
'expiration' => 10,
|
||||
],
|
||||
|
||||
'sentry' => [
|
||||
'sentry_dsn' => env('SENTRY_DSN'),
|
||||
],
|
||||
|
||||
'webhooks' => [
|
||||
'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'),
|
||||
'dev_webhook' => env('SERVEO_URL'),
|
||||
],
|
||||
|
||||
'limits' => [
|
||||
'trial_period' => 0,
|
||||
'server' => [
|
||||
@@ -89,4 +76,23 @@ return [
|
||||
'dynamic' => true,
|
||||
],
|
||||
],
|
||||
|
||||
'waitlist' => [
|
||||
'enabled' => env('WAITLIST', true),
|
||||
'expiration' => 10,
|
||||
],
|
||||
|
||||
'sentry' => [
|
||||
'sentry_dsn' => env('SENTRY_DSN'),
|
||||
],
|
||||
|
||||
'webhooks' => [
|
||||
'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'),
|
||||
'dev_webhook' => env('SERVEO_URL'),
|
||||
],
|
||||
|
||||
'bunny' => [
|
||||
'storage_api_key' => env('BUNNY_STORAGE_API_KEY'),
|
||||
'api_key' => env('BUNNY_API_KEY'),
|
||||
],
|
||||
];
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
return [
|
||||
|
||||
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/
|
||||
'dsn' => config('coolify.sentry_dsn'),
|
||||
'dsn' => config('constants.sentry.sentry_dsn'),
|
||||
|
||||
// The release version of your application
|
||||
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
|
||||
'release' => '4.0.0-beta.368',
|
||||
'release' => config('constants.coolify.version'),
|
||||
|
||||
// When left empty or `null` the Laravel environment will be used
|
||||
'environment' => config('app.env'),
|
||||
|
||||
Reference in New Issue
Block a user