Skip to content

Commit

Permalink
fix: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vklimontovich committed Dec 13, 2023
1 parent 81cd0fb commit 0d0dd65
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions webapps/ee-api/pages/api/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { getExistingDomain, vercelCname, vercelProjectId, vercelRpc, vercelTeamI

const log = getServerLog("/api/domain");


function resolveCname(domain: string): Promise<string[]> {
return new Promise((resolve, reject) => {
dns.resolveCname(domain, (err, addresses) => {
Expand Down Expand Up @@ -55,7 +54,12 @@ const handler = async function handler(req: NextApiRequest, res: NextApiResponse
} else {
res
.status(200)
.json({ ok: false, needsConfiguration: true, configurationType: "cname", cnameValue: alternativeCname[0] });
.json({
ok: false,
needsConfiguration: true,
configurationType: "cname",
cnameValue: alternativeCname[0],
});
return;
}
} else {
Expand All @@ -64,7 +68,12 @@ const handler = async function handler(req: NextApiRequest, res: NextApiResponse
} else {
res
.status(200)
.json({ ok: false, needsConfiguration: true, configurationType: "cname", cnameValue: alternativeCname[0] });
.json({
ok: false,
needsConfiguration: true,
configurationType: "cname",
cnameValue: alternativeCname[0],
});
}
}
} catch (e) {
Expand Down

1 comment on commit 0d0dd65

@vercel
Copy link

@vercel vercel bot commented on 0d0dd65 Dec 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

new-jitsu-ee-api – ./webapps/ee-api

new-jitsu-ee-api-jitsu.vercel.app
new-jitsu-ee-api-git-newjitsu-jitsu.vercel.app
onetag-ee-api.vercel.app
ee.jitsu.dev

Please sign in to comment.