Merge pull request #42896 from ghiculescu/patch-2

Add more detail about what hosts are allowed
This commit is contained in:
Rafael França 2021-07-28 15:21:47 -04:00 committed by GitHub
commit 93b3344536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -2,6 +2,6 @@
<h1>Blocked host: <%= @host %></h1>
</header>
<main role="main" id="container">
<h2>To allow requests to <%= @host %>, add the following to your environment configuration:</h2>
<h2>To allow requests to <%= @host %> make sure it is a valid hostname (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:</h2>
<pre>config.hosts &lt;&lt; "<%= @host %>"</pre>
</main>

@ -1,5 +1,5 @@
Blocked host: <%= @host %>
To allow requests to <%= @host %>, add the following to your environment configuration:
To allow requests to <%= @host %> make sure it is a valid hostname (containing only numbers, letters, dashes and dots), then add the following to your environment configuration:
config.hosts << "<%= @host %>"