@@ -9,7 +9,7 @@ |
||
| 9 | 9 |
<%= devise_error_messages! %> |
| 10 | 10 |
<% if ENV['ON_HEROKU'] && User.count.zero? %> |
| 11 | 11 |
<div class="heroku-instruction"> |
| 12 |
- <% app_name = request.host[/\A.+/] %> |
|
| 12 |
+ <% app_name = request.host[/\A[^.]+/] %> |
|
| 13 | 13 |
<p>If you are the owner of this application, run the following commands to complete the setup.</p> |
| 14 | 14 |
<%= content_tag :pre do -%> |
| 15 | 15 |
heroku git:clone <%= app_name %> |