5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-03 04:56:07 +00:00
panel/config/initializers/hosts.rb

12 lines
241 B
Ruby
Raw Normal View History

2019-09-06 23:40:33 +00:00
# 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 << "edit.#{domain}"
config.hosts << "api.#{domain}"
end