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

By default in rails, it looks like only one level deep is allowed.
This commit is contained in:
Daniel Waterworth
2022-06-06 16:02:51 -05:00
committed by GitHub
parent 49415de3fa
commit 00e756e358
+2
View File
@@ -110,4 +110,6 @@ Discourse::Application.configure do
Bullet.rails_logger = true
end
end
config.hosts << /\A(([a-z-]+)\.)*localhost(\:\d+)?\Z/
end