mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 13:05:32 +09:00
refactor(schema): simplify validation and OpenAPI generation (#2709)
This commit is contained in:
1 parent
4bc5593f9f
commit
de1fd95a99
510 files changed
+29494
-36131
No files matched your search
@@ -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