diff options
| author | Ben Busby <noreply+git@benbusby.com> | 2021-10-22 20:07:07 -0600 |
|---|---|---|
| committer | Ben Busby <noreply+git@benbusby.com> | 2021-10-22 20:07:07 -0600 |
| commit | 76faebd234644d77429ddcefaf8ccdb8a1beff0d (patch) | |
| tree | fc0dae3dc4940aa5d84878fa0ed8b27b598e1c42 /config | |
| parent | 9a6d68021310a75638a664c2f3716e32ed5980df (diff) | |
| download | farside-76faebd234644d77429ddcefaf8ccdb8a1beff0d.tar.gz | |
Move constants to config, update string formatting
Not sure if this is the Elixir-y way to do this, but seems more logical
than hardcoding values such as redis connection.
Also went through and improved how string formatting was performed
throughout the app. Rather than "combining" <> "strings" this way, I'm
now just doing "#${variable}#{formatting}", which looks a lot cleaner.
Diffstat (limited to 'config')
| -rw-r--r-- | config/config.exs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config/config.exs b/config/config.exs new file mode 100644 index 0000000..44b3af8 --- /dev/null +++ b/config/config.exs @@ -0,0 +1,7 @@ +import Config + +config :privacy_revolver, + redis_conn: "redis://localhost:6379", + fallback_str: "-fallback", + update_file: ".update-results", + services_json: "services.json" |
