From dd09227f9ad2b24152349e19a30010fc7c2d0ccc Mon Sep 17 00:00:00 2001 From: Marco Realacci Date: Fri, 29 Sep 2023 16:41:57 +0200 Subject: [PATCH] Attempt fixing Apple Safari empty string issue --- src/App.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/App.vue b/src/App.vue index 7572c08..ee711e0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -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"