diff config/config_init.rb @ 505:7236c8864ad2

Remove ZP_ prefix from environment variable names
author nanaya <me@nanaya.net>
date Mon, 16 Dec 2024 01:42:54 +0900
parents 2392b86711a1
children
line wrap: on
line diff
--- a/config/config_init.rb	Mon Dec 16 01:34:05 2024 +0900
+++ b/config/config_init.rb	Mon Dec 16 01:42:54 2024 +0900
@@ -1,5 +1,5 @@
 $cfg = {}
-$cfg[:secret_key] = ENV["ZP_SECRET_KEY"]
+$cfg[:secret_key] = ENV["SECRET_KEY"]
 
 env = ENV["RAILS_ENV"] || ENV["RACK_ENV"] || "development"
 config_local = File.expand_path("config_local_#{env}.rb", __dir__)