tracks/config/secrets.yml
Matt Rogers 859701a81f
Update configuration after the Rails upgrade
Ran `bin/rake rails:upgrade` and went through all the changes.

Co-Authored-By: Dan Rice <dnrce@users.noreply.github.com>
2018-10-27 11:27:07 -05:00

22 lines
856 B
YAML

# Be sure to restart your server when you modify this file.
# Your secret key is used for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
# You can use `rails secret` to generate a secure secret key.
# Make sure the secrets in this file are kept private
# if you're sharing your code publicly.
development:
secret_key_base: <%= SITE_CONFIG["secret_token"] || SecureRandom.hex(64) %>
test:
secret_key_base: <%= SITE_CONFIG["secret_token"] || SecureRandom.hex(64) %>
# Do not keep production secrets in the repository,
# instead read values from the environment.
production:
secret_key_base: <%= SITE_CONFIG["secret_token"] || SecureRandom.hex(64) %>