From a1b01b5cbdb723a89da890690ef29ef5ec53ab3c Mon Sep 17 00:00:00 2001 From: Holly Date: Mon, 31 Jan 2022 18:40:20 +0000 Subject: [PATCH] fix subdomain access --- config/environments/production.rb | 3 +++ 1 file changed, 3 insertions(+) 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