mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-27 21:10:54 +00:00
f8d6368f10
Add a default random for APP_SECRET_KEY_BASE to avoid startup issues.
11 lines
No EOL
388 B
YAML
11 lines
No EOL
388 B
YAML
development:
|
||
secret_key_base: <%= ENV["APP_SECRET_KEY_BASE"] || SecureRandom.alphanumeric(32) %>
|
||
|
||
test:
|
||
secret_key_base: <%= ENV["APP_SECRET_KEY_BASE"] || SecureRandom.alphanumeric(32) %>
|
||
|
||
production:
|
||
secret_key_base: <%= ENV["APP_SECRET_KEY_BASE"] || SecureRandom.alphanumeric(32) %>
|
||
|
||
staging:
|
||
secret_key_base: <%= ENV["APP_SECRET_KEY_BASE"] || SecureRandom.alphanumeric(32) %> |