Aktueller Stand

This commit is contained in:
2026-01-22 19:05:45 +01:00
parent 85dee61a4d
commit e280e4eadb
1967 changed files with 397327 additions and 74093 deletions

View File

@@ -2,11 +2,11 @@
const assert = require('node:assert')
function HostStorage () {
const hosts = {}
const hosts = new Map()
const regexHosts = []
return {
get: (host) => {
const exact = hosts[host]
const exact = hosts.get(host)
if (exact) {
return exact
}
@@ -20,7 +20,7 @@ function HostStorage () {
if (host instanceof RegExp) {
regexHosts.push({ host, value })
} else {
hosts[host] = value
hosts.set(host, value)
}
}
}