fix: only use sentry in cloud

This commit is contained in:
Andras Bacsai
2024-11-07 13:51:05 +01:00
parent cf870f5162
commit 3617f3bea7
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
<?php <?php
return [ return [
'sentry_dsn' => env('SENTRY_DSN'),
'docs' => 'https://coolify.io/docs/', 'docs' => 'https://coolify.io/docs/',
'contact' => 'https://coolify.io/docs/contact', 'contact' => 'https://coolify.io/docs/contact',
'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'), 'feedback_discord_webhook' => env('FEEDBACK_DISCORD_WEBHOOK'),

View File

@@ -3,7 +3,7 @@
return [ return [
// @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/ // @see https://docs.sentry.io/product/sentry-basics/dsn-explainer/
'dsn' => 'https://89552af6db48f4ca6a871ec0fc42964d@o1082494.ingest.us.sentry.io/4505347448045568', 'dsn' => config('coolify.sentry_dsn'),
// The release version of your application // The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD')) // Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))