5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 14:26:21 +00:00
panel/config/initializers/hosts.rb
2023-02-03 11:50:09 -03:00

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