feat: disabled enabledOrigins handling and clean up unused code in webrtc-internals-exporter

This commit is contained in:
2025-02-07 10:25:20 +01:00
parent 3a31a30fc7
commit 19ac4dec45
3 changed files with 3 additions and 10 deletions

View File

@@ -46,8 +46,7 @@ if (window.location.protocol.startsWith("http")) {
log(`options loaded:`, ret);
options.url = ret.url || "";
options.enabled =
ret.enabledOrigins &&
ret.enabledOrigins[window.location.origin] === true;
ret.enabledOrigins;
options.updateInterval = (ret.updateInterval || 2) * 1000;
options.enabledStats = Object.values(ret.enabledStats || {});
sendOptions();