fix: remove optional chaining from pug template (unsupported syntax)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -22,6 +22,6 @@ div(class='bg-white border border-gray-200 rounded-xl p-5')
|
||||
= d != null ? d + ' days' : '—'
|
||||
div(class='bg-gray-50 rounded-lg px-3 py-2 col-span-2 sm:col-span-3')
|
||||
div(class='text-xs text-gray-400 mb-1') Protocols
|
||||
div(class='font-medium')= ssl.protocols?.join(' · ') || '—'
|
||||
div(class='font-medium')= (ssl.protocols && ssl.protocols.length ? ssl.protocols.join(' · ') : '—')
|
||||
else
|
||||
p(class='text-sm text-gray-400 italic') Not available — HTTPS only or check timed out
|
||||
|
||||
Reference in New Issue
Block a user