fix: potentially unstable custom domain name dns
This commit is contained in:
@@ -55,8 +55,10 @@ export async function GET(req: Request) {
|
||||
}
|
||||
} else {
|
||||
const tenant = await fetchTenant(realHost, 5)
|
||||
return {
|
||||
subdomain: tenant,
|
||||
if (tenant) {
|
||||
return {
|
||||
subdomain: tenant,
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user