MCPcopy Create free account
hub / github.com/BrainicHQ/DoHSpeedTest / persistHostnames

Function persistHostnames

script.js:227–229  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225}
226
227function persistHostnames() {
228 writeStoredJson(SETTINGS_STORAGE_KEYS.hostnames, topWebsites);
229}
230
231function persistDoHServers() {
232 writeStoredJson(SETTINGS_STORAGE_KEYS.dohServers, dnsServers.map(normalizeDoHServerForStorage).filter(Boolean));

Callers 2

renderHostsListFunction · 0.85
script.jsFile · 0.85

Calls 1

writeStoredJsonFunction · 0.85

Tested by

no test coverage detected