summaryrefslogtreecommitdiff
path: root/views/error.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2019-08-16 09:49:53 +0000
committergebele <gebele@in-silico.ch>2019-08-16 09:49:53 +0000
commit270bddf5081671cd1905d6cce6eb3659159f573a (patch)
tree86dd2db590b86185cce8f52cefb2b7fba0fb9623 /views/error.haml
parent74332693fed1d5ecb695dd6ae0c2fc611d14c4d7 (diff)
change hostname method
Diffstat (limited to 'views/error.haml')
-rw-r--r--views/error.haml2
1 files changed, 1 insertions, 1 deletions
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