*Set options to default to a content record type
This commit is contained in:
parent
109ac99045
commit
2f0e1fa4b8
|
@ -1,4 +1,4 @@
|
||||||
import { ResolverOptions } from "@lumeweb/resolver-common";
|
import { DNS_RECORD_TYPE, ResolverOptions } from "@lumeweb/resolver-common";
|
||||||
|
|
||||||
const DNS_MODULE = "AQBLKpieqOfKVRgMa8k45P4S_ILYgJmswVso4vT1qzoG-A";
|
const DNS_MODULE = "AQBLKpieqOfKVRgMa8k45P4S_ILYgJmswVso4vT1qzoG-A";
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ async function loadLibs() {
|
||||||
|
|
||||||
export async function resolve(
|
export async function resolve(
|
||||||
domain: string,
|
domain: string,
|
||||||
options: ResolverOptions,
|
options: ResolverOptions = { type: DNS_RECORD_TYPE.CONTENT },
|
||||||
bypassCache = false
|
bypassCache = false
|
||||||
) {
|
) {
|
||||||
await loadLibs();
|
await loadLibs();
|
||||||
|
|
Loading…
Reference in New Issue