MCPcopy Index your code
hub / github.com/AnswerOverflow/AnswerOverflow / findServerByCustomDomain

Function findServerByCustomDomain

packages/core/src/server.ts:43–49  ·  view source on GitHub ↗
(domain: string)

Source from the content-addressed store, hash-verified

41}
42
43export async function findServerByCustomDomain(domain: string) {
44 const found = await db.query.dbServers.findFirst({
45 where: eq(dbServers.customDomain, domain),
46 });
47 if (!found) return null;
48 return addFlagsToServer(found);
49}
50
51export async function createServer(
52 input: z.infer<typeof zServerCreate> & {

Callers 9

getServerSidePropsFunction · 0.90
handlerFunction · 0.90
TenantHomeFunction · 0.90
generateMetadataFunction · 0.90
LayoutFunction · 0.90
TenantChannelPageFunction · 0.90
RootLayoutFunction · 0.90
getUserPageDataFunction · 0.90
SearchFunction · 0.90

Calls 1

addFlagsToServerFunction · 0.90

Tested by

no test coverage detected