5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:26:22 +00:00
panel/config/initializers/hosts.rb
2019-09-06 22:00:23 -03:00

11 lines
242 B
Ruby

# frozen_string_literal: true
Rails.application.configure do
next if ENV['RAILS_ENV'] == 'test'
domain = ENV.fetch('SUTTY', 'sutty.nl')
config.hosts << domain
config.hosts << "panel.#{domain}"
config.hosts << "api.#{domain}"
end