mirror of
https://github.com/notherealmarco/vue-quic-test.git
synced 2025-05-05 12:32:34 +02:00
Attempt fixing Apple Safari empty string issue
This commit is contained in:
parent
9bb95ba780
commit
dd09227f9a
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ onMounted(() => {
|
||||||
performance.getEntries().forEach(entry => {
|
performance.getEntries().forEach(entry => {
|
||||||
if (entry.nextHopProtocol === "h3") h3_count.value++
|
if (entry.nextHopProtocol === "h3") h3_count.value++
|
||||||
else if (entry.nextHopProtocol === undefined) count.value--
|
else if (entry.nextHopProtocol === undefined) count.value--
|
||||||
|
|
||||||
|
if (entry.nextHopProtocol !== "") proto = entry.nextHopProtocol
|
||||||
});
|
});
|
||||||
|
|
||||||
if (proto === "h3") proto = "HTTP/3"
|
if (proto === "h3") proto = "HTTP/3"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue