mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 02:46:23 +00:00
11 lines
253 B
Ruby
11 lines
253 B
Ruby
# frozen_string_literal: true
|
|
|
|
Rails.application.configure do
|
|
next unless ENV['RAILS_ENV'] == 'development'
|
|
|
|
domain = ENV.fetch('SUTTY', 'sutty.nl')
|
|
|
|
config.hosts << domain
|
|
config.hosts << "panel.#{domain}"
|
|
config.hosts << "api.#{domain}"
|
|
end
|