diff --git a/src/instances/views/index.ecr b/src/instances/views/index.ecr index 1dc3ee7..4618cd7 100644 --- a/src/instances/views/index.ecr +++ b/src/instances/views/index.ecr @@ -101,13 +101,13 @@ ">version ">type ">users - ">cors - ">api ">signup ">location ">
healthUptime / Downtime displayed in percentage
+ ">cors + ">api @@ -119,11 +119,11 @@ <%= instance[:stats]?.try &.["software"]?.try &.["version"] || "-" %> <%= instance[:type] %> <%= instance[:stats]?.try &.["usage"]?.try &.["users"]["total"] || "-" %> - <%= instance[:cors] == nil ? "-" : instance[:cors] ? "✔" : "❌" %> - <%= instance[:api] == nil ? "-" : instance[:api] ? "✔" : "❌" %> <%= instance[:stats]?.try &.["openRegistrations"]?.try { |bool| bool.as_bool ? "✔" : "❌" } || "-" %> <%= instance[:flag]? ? "#{instance[:flag]} #{instance[:region]}" : "-" %> <%= instance[:monitor]?.try &.["30dRatio"]["ratio"] || "-" %> + <%= instance[:cors] == nil ? "-" : instance[:cors] ? "✔" : "❌" %> + <%= instance[:api] == nil ? "-" : instance[:api] ? "✔" : "❌" %> <% end %>