Ver Fonte

$scheme is displayed as "auto" on hosts listing

baruffaldi há 4 anos atrás
pai
commit
49fbf031d1
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      frontend/js/app/nginx/redirection/list/item.ejs

+ 1 - 1
frontend/js/app/nginx/redirection/list/item.ejs

@@ -26,7 +26,7 @@
     <div class="text-monospace"><%- forward_http_code %></div>
 </td>
 <td>
-    <div class="text-monospace"><%- forward_scheme %></div>
+    <div class="text-monospace"><%- forward_scheme == '$scheme' ? 'auto' : forward_scheme %></div>
 </td>
 <td>
     <div class="text-monospace"><%- forward_domain_name %></div>