Attempt fixing Apple Safari empty string issue

This commit is contained in:
Marco Realacci 2023-09-29 16:41:57 +02:00
parent 9bb95ba780
commit dd09227f9a

View file

@ -25,6 +25,8 @@ onMounted(() => {
performance.getEntries().forEach(entry => {
if (entry.nextHopProtocol === "h3") h3_count.value++
else if (entry.nextHopProtocol === undefined) count.value--
if (entry.nextHopProtocol !== "") proto = entry.nextHopProtocol
});
if (proto === "h3") proto = "HTTP/3"