1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

fix VRF help; add CORS support to DNS over HTTPS

This commit is contained in:
checktheroads
2020-03-24 12:32:00 -07:00
parent 77d6165f11
commit 6b1c6bcc32
2 changed files with 5 additions and 5 deletions

View File

@@ -20,12 +20,14 @@ const ResolvedTarget = React.forwardRef(({ fqdnTarget, setTarget, queryTarget },
url: dnsUrl,
params: { name: fqdnTarget, type: "A" },
headers: { accept: "application/dns-json" },
crossdomain: true,
timeout: 1000
};
const params6 = {
url: dnsUrl,
params: { name: fqdnTarget, type: "AAAA" },
headers: { accept: "application/dns-json" },
crossdomain: true,
timeout: 1000
};