Skip to content

A platform for community discussion. Free, open, simple.

DEV: Allow all subdomains of localhost in development (#17018)

Daniel Waterworth00e756e35858
diff --git a/config/environments/development.rb b/config/environments/development.rb
index bb6b7a913f0..bbac74b1a91 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -110,4 +110,6 @@ Discourse::Application.configure do
Bullet.rails_logger = true
end
end
+
+ config.hosts << /\A(([a-z-]+)\.)*localhost(\:\d+)?\Z/
end