Skip to content

Commit

Permalink
Disabling rails master key check
Browse files Browse the repository at this point in the history
It's not available when compiling precompile assets.
SECRET_KEY_BASE_DUMMY=1 should bypass this check
but for some reason it's triggering.

For now I'll disable it and check when I have more
time. I know that the master key is set on production.
  • Loading branch information
radanskoric committed Aug 19, 2024
1 parent 040c303 commit 474289a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

# Ensures that a master key has been made available in ENV["RAILS_MASTER_KEY"], config/master.key, or an environment
# key such as config/credentials/production.key. This key is used to decrypt credentials (and other encrypted files).
config.require_master_key = true
# config.require_master_key = true

# Disable serving static files from `public/`, relying on NGINX/Apache to do so instead.
# config.public_file_server.enabled = false
Expand Down

0 comments on commit 474289a

Please # to comment.