<% const RESTART_MSG = "Poke is currently restarting - please wait 1-2 minutes.."; %> <% if (description === RESTART_MSG) { %> <% } else { %> <% } %> <% if (description === RESTART_MSG) { %>

502

<% } else { %>

404

<% } %>

<%= error %>

<%= description %>

<% if (description === RESTART_MSG) { %>
Trying again in <%= parseInt(localStorage.getItem('reloadCount') || '1', 10) > 5 ? 30 : 10 %> seconds...
<% } %>