diff --git a/components/dns/dns-result.jsx b/components/dns/dns-result.jsx index 853e96d..1fd7801 100644 --- a/components/dns/dns-result.jsx +++ b/components/dns/dns-result.jsx @@ -26,19 +26,17 @@ function addLink(text) { const isIP = z.string().ip().safeParse(text).success if (isIP) { return ( - + {text} - {' '} - i + ) } else if (isDomain(text)) { return ( - + {text} - {' '} - w + ) // return {text}w @@ -96,8 +94,7 @@ export function DNSResult({ formData, region, config }) { .toString('utf-8') .replace(/=/g, '') const dnsRes = await fetch( - `${dnsHost}/api/region/${region}?dns=${dnsQueryData}&resolver=${formData.resolver - }®ion=${region}&_=${Math.random()}`, + `${dnsHost}/api/region/${region}?dns=${dnsQueryData}&resolver=${formData.resolver}®ion=${region}&_=${Math.random()}`, { headers: { Accept: 'application/dns-message', diff --git a/package.json b/package.json index 91fa098..613f4fe 100644 --- a/package.json +++ b/package.json @@ -46,6 +46,8 @@ "@iconify-json/devicon": "^1.1.33", "@iconify-json/lucide": "^1.1.150", "@iconify-json/mdi": "^1.1.63", + "@iconify-json/mynaui": "^1.2.6", + "@iconify-json/oui": "^1.2.0", "@iconify-json/subway": "^1.1.10", "@iconify/tailwind": "^0.1.4", "@svgr/webpack": "^8.1.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7f07ff3..bb181f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -87,6 +87,12 @@ importers: '@iconify-json/mdi': specifier: ^1.1.63 version: 1.1.63 + '@iconify-json/mynaui': + specifier: ^1.2.6 + version: 1.2.6 + '@iconify-json/oui': + specifier: ^1.2.0 + version: 1.2.0 '@iconify-json/subway': specifier: ^1.1.10 version: 1.1.10 @@ -1463,6 +1469,12 @@ packages: '@iconify-json/mdi@1.1.63': resolution: {integrity: sha512-b07dRM5LYdwJqd/lm+1+JDNDNSWHvpZ7ujb73oJxx3lmK1J0giDS0BSc4yia0hixNV0Z2q/4GyxAu/A8XqDnbg==} + '@iconify-json/mynaui@1.2.6': + resolution: {integrity: sha512-+OhCqZvqNu4y99F81+222GnKGlcOaH8E+kXUkjcSxa/v1dBob2kvEO/Icex7Y9x+hBtTKgE+rnqfKXiJVhsmlA==} + + '@iconify-json/oui@1.2.0': + resolution: {integrity: sha512-MmbmbX947P7hTuauSRj1d+ii5vzwJoTh4VYGuGWepKoQOa4szxwPpuRGezNg07xAi5bZsptdloGwB5HBl/D00Q==} + '@iconify-json/subway@1.1.10': resolution: {integrity: sha512-WRHL4ANhwdSh1FXYCOrwBSr9lhkrYhLhe3C0Fk8taRXG1J7l6KuObcqNqkFOX7UuSSicGWL9n4YMZF7V9tXsGw==} @@ -7393,6 +7405,14 @@ snapshots: dependencies: '@iconify/types': 2.0.0 + '@iconify-json/mynaui@1.2.6': + dependencies: + '@iconify/types': 2.0.0 + + '@iconify-json/oui@1.2.0': + dependencies: + '@iconify/types': 2.0.0 + '@iconify-json/subway@1.1.10': dependencies: '@iconify/types': 2.0.0