баг-фикс 30/34

This commit is contained in:
Zuev committed 2026-07-19 14:40:43 +03:00
1 parent 3d798c13e3
commit bc0e1ab1b4
172 files changed
+13431 -2910

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
let telemetryPromise = null;
export function initializeTelemetry() {
if (['localhost', '127.0.0.1', '::1'].includes(window.location.hostname)) {
return Promise.resolve();
}
if (!telemetryPromise) {
telemetryPromise = import('/vendor/otel.js').catch(error => {
console.warn('Не удалось инициализировать браузерную телеметрию');
});
}
return telemetryPromise;
}