ux(ice-test): clarify result when browser hides reflexive/relay candidates (Safari)
This commit is contained in:
Vendored
+1
-1
@@ -19387,7 +19387,7 @@ var IceServerSettings = ({ isOpen, onClose, initial, hasSaved, onApply, onForget
|
||||
key: "res",
|
||||
className: "ml-3 text-sm " + (testResult.error ? "text-red-400" : "text-secondary")
|
||||
},
|
||||
testResult.error ? `Test failed: ${testResult.error}` : `STUN ${testResult.srflx > 0 ? "OK" : "none"} \xB7 TURN ${testResult.relay > 0 ? "OK" : "none"} \xB7 host ${testResult.host}`
|
||||
testResult.error ? `Test failed: ${testResult.error}` : testResult.srflx > 0 || testResult.relay > 0 ? `STUN ${testResult.srflx > 0 ? "OK" : "none"} \xB7 TURN ${testResult.relay > 0 ? "OK" : "none"} \xB7 host ${testResult.host}` : `host ${testResult.host} \xB7 this browser (e.g. Safari) hides STUN/TURN candidates from the test \u2014 your servers are still applied to real connections`
|
||||
) : null
|
||||
]));
|
||||
}
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
+4
-4
@@ -148,13 +148,13 @@
|
||||
<!-- Update Manager - система принудительного обновления -->
|
||||
<script src="src/utils/updateManager.js"></script>
|
||||
<script type="module" src="src/components/UpdateChecker.jsx"></script>
|
||||
<script type="module" src="dist/qr-local.js?v=1781553880881"></script>
|
||||
<script type="module" src="src/components/QRScanner.js?v=1781553880881"></script>
|
||||
<script type="module" src="dist/qr-local.js?v=1781588965220"></script>
|
||||
<script type="module" src="src/components/QRScanner.js?v=1781588965220"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="dist/app-boot.js?v=1781553880881"></script>
|
||||
<script type="module" src="dist/app.js?v=1781553880881"></script>
|
||||
<script type="module" src="dist/app-boot.js?v=1781588965220"></script>
|
||||
<script type="module" src="dist/app.js?v=1781588965220"></script>
|
||||
|
||||
<script src="src/scripts/pwa-register.js"></script>
|
||||
<script src="./src/pwa/install-prompt.js" type="module"></script>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{
|
||||
"version": "1781553880881",
|
||||
"buildVersion": "1781553880881",
|
||||
"version": "1781588965220",
|
||||
"buildVersion": "1781588965220",
|
||||
"appVersion": "4.8.10",
|
||||
"buildTime": "2026-06-15T20:04:40.924Z",
|
||||
"buildId": "1781553880881-7f2ecce",
|
||||
"gitHash": "7f2ecce",
|
||||
"buildTime": "2026-06-16T05:49:25.266Z",
|
||||
"buildId": "1781588965220-6dac4ce",
|
||||
"gitHash": "6dac4ce",
|
||||
"generated": true,
|
||||
"generatedAt": "2026-06-15T20:04:40.926Z"
|
||||
"generatedAt": "2026-06-16T05:49:25.268Z"
|
||||
}
|
||||
@@ -194,7 +194,9 @@ const IceServerSettings = ({ isOpen, onClose, initial, hasSaved, onApply, onForg
|
||||
className: 'ml-3 text-sm ' + (testResult.error ? 'text-red-400' : 'text-secondary')
|
||||
}, testResult.error
|
||||
? `Test failed: ${testResult.error}`
|
||||
: `STUN ${testResult.srflx > 0 ? 'OK' : 'none'} · TURN ${testResult.relay > 0 ? 'OK' : 'none'} · host ${testResult.host}`
|
||||
: (testResult.srflx > 0 || testResult.relay > 0)
|
||||
? `STUN ${testResult.srflx > 0 ? 'OK' : 'none'} · TURN ${testResult.relay > 0 ? 'OK' : 'none'} · host ${testResult.host}`
|
||||
: `host ${testResult.host} · this browser (e.g. Safari) hides STUN/TURN candidates from the test — your servers are still applied to real connections`
|
||||
) : null
|
||||
]));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user