瀏覽代碼

master.key is now used in production environment

Lou 3 年之前
父節點
當前提交
0e529f8a0a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      config/environments/production.rb

+ 1
- 1
config/environments/production.rb 查看文件

@@ -17,7 +17,7 @@ Rails.application.configure do
17 17
 
18 18
   # Ensures that a master key has been made available in either ENV["RAILS_MASTER_KEY"]
19 19
   # or in config/master.key. This key is used to decrypt credentials (and other encrypted files).
20
-  # config.require_master_key = true
20
+  config.require_master_key = true
21 21
 
22 22
   # Disable serving static files from the `/public` folder by default since
23 23
   # Apache or NGINX already handles this.

Loading…
取消
儲存