mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
refactor(schema): simplify validation and OpenAPI generation (#2709)
This commit is contained in:
@@ -392,7 +392,7 @@ export async function readBoundedMessage({
|
||||
}
|
||||
|
||||
async function lookupAllAddresses(hostname: string): Promise<ReadonlyArray<string>> {
|
||||
const records = await dns.promises.lookup(hostname, {all: true, verbatim: true});
|
||||
const records = await dns.promises.lookup(hostname, {all: true, order: 'verbatim'});
|
||||
return records.map((record) => record.address);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user