From 1546e77e9b2796f20215caa23f06822c96be27ee Mon Sep 17 00:00:00 2001 From: gebele Date: Mon, 5 Aug 2019 09:48:54 +0000 Subject: ensure xhr requests are https to avoid mixed content issue in browsers --- 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 ca6a0b2..b1adee9 100644 --- a/views/error.haml +++ b/views/error.haml @@ -1,5 +1,5 @@ %div.card - %a.btn.btn-warning{:href => to('/predict')} + %a.btn.btn-warning{:href => "//#{ENV['VIRTUAL_HOST']}/predict"} %i.fa.fa-caret-left Back %div.card-body -- cgit v1.2.3