Mercurial > rsstweet
view config/config_init.rb @ 265:a8fd79a8d170 default tip
Update with better config example
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 09 Feb 2025 03:55:18 +0900 |
parents | 2fc76c51e184 |
children |
line wrap: on
line source
$cfg = { headers: { identifier: { # fill in here } }, redis_server: ENV["REDIS_SERVER"] } config_local = File.expand_path("../config_local_#{Rails.env}.rb", __FILE__) require config_local if File.exist? config_local $cfg[:headers] = $cfg[:headers].to_a $cfg.freeze