diff --git a/config/environments/production.rb b/config/environments/production.rb index ce3c41799f..db97a3c36f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -125,4 +125,7 @@ Rails.application.configure do } config.x.otp_secret = ENV.fetch('OTP_SECRET') + + # Allow access from any subdomain + config.hosts << /\S+\.glaceon\.social/ end