From 270bddf5081671cd1905d6cce6eb3659159f573a Mon Sep 17 00:00:00 2001 From: gebele Date: Fri, 16 Aug 2019 09:49:53 +0000 Subject: change hostname method --- views/error.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/error.haml') diff --git a/views/error.haml b/views/error.haml index b1adee9..d00b578 100644 --- a/views/error.haml +++ b/views/error.haml @@ -1,5 +1,5 @@ %div.card - %a.btn.btn-warning{:href => "//#{ENV['VIRTUAL_HOST']}/predict"} + %a.btn.btn-warning{:href => "//#{$host_with_port}/predict"} %i.fa.fa-caret-left Back %div.card-body -- cgit v1.2.3