fix: approximated not verifying domain, change request type for /agents
route
This commit is contained in:
@@ -52,8 +52,10 @@ export async function getOrgSiteInfo(url: URL, cookies: Cookies): Promise<OrgSit
|
||||
|
||||
// Custom domain
|
||||
if (isURLCustomDomain(url)) {
|
||||
console.log('it is custom domain');
|
||||
const apiKeyHeaders = getApiKeyHeaders();
|
||||
const orgs = await getOrgsByCustomDomain(url.host, true, apiKeyHeaders);
|
||||
console.log('orgs', orgs);
|
||||
|
||||
if (!orgs || orgs.length === 0) {
|
||||
return response;
|
||||
|
||||
Reference in New Issue
Block a user