[feat]Config read from environment variables
This commit is contained in:
parent
b7fbba162b
commit
4fcc610b24
6 changed files with 22 additions and 8 deletions
|
|
@ -44,6 +44,11 @@ Osem::Application.configure do
|
|||
# Set the secret key base if it's not set via other means
|
||||
config.secret_key_base ||= 'f4be765bc98e516de82ac01daa8f8aa11c5ca13cb6c911887851ac89457b6c0b056b2361a21b5c08926c9386e0f91eef84fc0b103d522bf00bc0c78ea8ce7c58'
|
||||
|
||||
# Test email address
|
||||
config.mailbot = {
|
||||
bcc_address: 'test@test.com'
|
||||
}
|
||||
|
||||
# Use omniauth mock credentials
|
||||
OmniAuth.config.test_mode = true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue