mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Allow all subdomains of localhost in development (#17089)
domains can contain numbers.
Follow-up-to: 00e756e358
This commit is contained in:
committed by
GitHub
parent
348b6e848f
commit
d7886e4d18
@@ -111,5 +111,5 @@ Discourse::Application.configure do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
config.hosts << /\A(([a-z-]+)\.)*localhost(\:\d+)?\Z/
|
config.hosts << /\A(([a-z0-9-]+)\.)*localhost(\:\d+)?\Z/
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user