Adds DoH capabilities
This commit is contained in:
parent
71ec390f65
commit
6169c8af9c
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ export async function findTxtRecord(host) {
|
|||
resolver.query( host)
|
||||
.then(response => {
|
||||
response.answers.forEach(ans => {
|
||||
console.log(ans.data)
|
||||
throw new Error(ans)
|
||||
const txtData = parseTxtRecordData(ans.data);
|
||||
if (txtData[recordParamDestUrl]) {
|
||||
throw new Error(txtData[recordParamDestUrl])
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue