feat(TALE-30): add support for new DNS configs

This is a breaking change to support 0.23-beta2
This commit is contained in:
Aarnav Tale
2024-08-22 16:55:05 -04:00
parent b8999161a2
commit 5a46fd0a97
13 changed files with 98 additions and 68 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ export async function loader({ request }: LoaderFunctionArgs) {
if (context.config.read) {
const config = await loadConfig()
if (config.dns_config.magic_dns) {
magic = config.dns_config.base_domain
if (config.dns.magic_dns) {
magic = config.dns.base_domain
}
}