mirror of
https://github.com/fspc/bike-database.git
synced 2025-04-04 10:03:22 -04:00
Louis | adds secret key for heroku
This commit is contained in:
parent
47980d61b0
commit
9f5f4d540d
1
.gitignore
vendored
1
.gitignore
vendored
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
/config/initializers/secret_token.rb
|
|
||||||
/config/secrets.yml
|
/config/secrets.yml
|
||||||
|
|
||||||
*.swp
|
*.swp
|
||||||
|
12
config/initializers/secret_token.rb
Normal file
12
config/initializers/secret_token.rb
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# 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 `rake secret` to generate a secure secret key.
|
||||||
|
|
||||||
|
# Make sure your secret_key_base is kept private
|
||||||
|
# if you're sharing your code publicly.
|
||||||
|
Bikedb::Application.config.secret_key_base = 'edecbe512e97f9890ab7377a41b0bf5260cc9864dda3642f78bdc7ff32ae5c8e91dcdb92483b7648c34ab05c0111f9da346b00863054fffc16369dd8edfeaa8c'
|
Loading…
x
Reference in New Issue
Block a user