mirror of
https://github.com/tale/headplane.git
synced 2026-08-31 09:18:29 +00:00
feat(TALE-30): add support for new DNS configs
This is a breaking change to support 0.23-beta2
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user