FIX: Allow all subdomains of localhost in development (#17089)
domains can contain numbers.
Follow-up-to: 00e756e358
This commit is contained in:
parent
348b6e848f
commit
d7886e4d18
|
@ -111,5 +111,5 @@ Discourse::Application.configure do
|
|||
end
|
||||
end
|
||||
|
||||
config.hosts << /\A(([a-z-]+)\.)*localhost(\:\d+)?\Z/
|
||||
config.hosts << /\A(([a-z0-9-]+)\.)*localhost(\:\d+)?\Z/
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue