1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Store secret_key_base in encrypted secrets file

This commit is contained in:
2017-11-29 14:47:17 +01:00
parent 49480da1d4
commit 19858a60b5
3 changed files with 4 additions and 9 deletions

View File

@@ -22,11 +22,3 @@ development:
test:
secret_key_base: eb1a45af35f2aa8c17790252820d8071be124f6a50f1e3112c873fe9d0e4aa49159c53759f381fe224e22aead60623bd82455fba509eb99e07117b98bcd41d4d
# Do not keep production secrets in the unencrypted secrets file.
# Instead, either read values from the environment.
# Or, use `bin/rails secrets:setup` to configure encrypted secrets
# and move the `production:` environment over there.
production:
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>