FIX: Allow all subdomains of localhost in development (#17089)

domains can contain numbers.

Follow-up-to: 00e756e358
This commit is contained in:
Daniel Waterworth 2022-06-14 14:54:49 -05:00 committed by GitHub
parent 348b6e848f
commit d7886e4d18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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