mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
Fix reading config from file (#1312)
This commit is contained in:
parent
1bedfd3a93
commit
3f8af9a13b
@ -27,6 +27,7 @@ All notable changes to this project will be documented in this file.
|
||||
- UI fixes for text not showing properly in bars across multiple lines. This hides the totals on <768px and only shows the uniques and % to accommodate the goals text too. Larger screens still truncate as usual.
|
||||
- Turn off autocomplete for name and password inputs in the _New shared link_ form.
|
||||
- Details modals are now responsive and take up less horizontal space on smaller screens to make it easier to scroll.
|
||||
- Fix reading config from file
|
||||
|
||||
### Removed
|
||||
- Removes AppSignal monitoring package
|
||||
|
@ -3,7 +3,7 @@ defmodule Plausible.ConfigHelpers do
|
||||
var_path = Path.join(config_dir, var_name)
|
||||
|
||||
if File.exists?(var_path) do
|
||||
File.read(var_path)
|
||||
File.read!(var_path)
|
||||
else
|
||||
System.get_env(var_name, default)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user