mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 11:12:15 +03:00
Simplify environment variable in SEntry config
This commit is contained in:
parent
e7f3455f2d
commit
c7ddb7d339
@ -38,7 +38,7 @@ config :plausible, PlausibleWeb.Endpoint,
|
||||
config :sentry,
|
||||
dsn: System.get_env("SENTRY_DSN"),
|
||||
included_environments: [:prod, :staging],
|
||||
environment_name: String.to_atom(Map.get(System.get_env(), "ENVIRONMENT", "dev")),
|
||||
environment_name: String.to_atom(System.get_env("ENVIRONMENT", "dev")),
|
||||
enable_source_code_context: true,
|
||||
root_source_code_path: File.cwd!(),
|
||||
tags: %{app_version: System.get_env("APP_VERSION", "0.0.1")},
|
||||
|
Loading…
Reference in New Issue
Block a user