[fix]Fix mailbot settings

This commit is contained in:
Jimmy 2021-04-13 18:26:38 +08:00
parent 1118c3cbcc
commit d2f1720d70
4 changed files with 6 additions and 7 deletions

View file

@ -72,10 +72,6 @@ module Osem
default_color: (ENV['DEFAULT_COLOR'] || '#0B3559')
}
config.mailbot = {
ytlf_ticket_id: (ENV['YTLF_TICKET_ID'] || 50)
}
config.before_configuration do
env_file = File.join(Rails.root, 'config', 'local_env.yml')
if File.exist?(env_file)