mirror of
https://github.com/discourse/discourse.git
synced 2025-04-15 15:10:57 +08:00
FIX: Allow all subdomains of localhost in development (#17089)
domains can contain numbers. Follow-up-to: 00e756e35858c6fbc058b2e686eca47ae90bda90
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…
x
Reference in New Issue
Block a user