mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-16 03:41:41 +00:00
Fix app_name.
This commit is contained in:
parent
171a8ba90d
commit
f84a9c24eb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
|||
<%= devise_error_messages! %>
|
||||
<% if ENV['ON_HEROKU'] && User.count.zero? %>
|
||||
<div class="heroku-instruction">
|
||||
<% app_name = request.host[/\A.+/] %>
|
||||
<% app_name = request.host[/\A[^.]+/] %>
|
||||
<p>If you are the owner of this application, run the following commands to complete the setup.</p>
|
||||
<%= content_tag :pre do -%>
|
||||
heroku git:clone <%= app_name %>
|
||||
|
|
Loading…
Add table
Reference in a new issue