mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 14:26:21 +00:00
11 lines
234 B
Ruby
11 lines
234 B
Ruby
# frozen_string_literal: true
|
|
|
|
Rails.application.configure do
|
|
next if Rails.env.test?
|
|
|
|
domain = ENV.fetch('SUTTY', 'sutty.nl')
|
|
|
|
config.hosts << "panel.#{domain}"
|
|
config.hosts << "api.#{domain}"
|
|
config.hosts << /\Aapi\./
|
|
end
|