Merge branch 'master' of git.clinicalfuture.com:arvados
[arvados.git] / apps / workbench / app / views / api_client_authorizations / index.html.erb
index 8077ee7949a40fc3aff718bba5f94e0c6757a377..03f4ea0e59c1928ee7a42f8a599ae26b8542426d 100644 (file)
@@ -6,6 +6,11 @@ read ARVADOS_API_TOKEN <<EOF
 <%= Thread.current[:arvados_api_token] %>
 EOF
 export ARVADOS_API_TOKEN ARVADOS_API_HOST=<%= current_api_host %>
+<% if Rails.configuration.arvados_insecure_https %>
+export ARVADOS_API_HOST_INSECURE=true
+<% else %>
+unset ARVADOS_API_HOST_INSECURE
+<% end %>
 </pre>
 
 <%= render partial: 'index' %>