feat: disabled enabledOrigins handling and clean up unused code in webrtc-internals-exporter
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user