summaryrefslogtreecommitdiff
path: root/views/faq.haml
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2019-08-05 09:48:54 +0000
committergebele <gebele@in-silico.ch>2019-08-05 09:48:54 +0000
commit1546e77e9b2796f20215caa23f06822c96be27ee (patch)
tree491580daa5882e62d327135009246dab4e252940 /views/faq.haml
parentb349cb51c4e46e1ae1bb309e9c589f1cff89e5af (diff)
ensure xhr requests are https to avoid mixed content issue in browsers
Diffstat (limited to 'views/faq.haml')
-rw-r--r--views/faq.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/faq.haml b/views/faq.haml
index 63479e2..b058de8 100644
--- a/views/faq.haml
+++ b/views/faq.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