MCPcopy Index your code
hub / github.com/Tencent/CodeAnalysis / getBaseURL

Function getBaseURL

web/packages/tca-analysis/src/services/common.ts:10–10  ·  view source on GitHub ↗
(orgSid: string, teamName: string)

Source from the content-addressed store, hash-verified

8import { MAIN_SERVER_API, ANALYSIS_SERVER_API, LOGIN_SERVER_API } from '@src/constant/api';
9
10export const getBaseURL = (orgSid: string, teamName: string) => `/orgs/${orgSid}/teams/${teamName}`;
11
12export const getMainBaseURL = (orgSid: string, teamName: string) => `${MAIN_SERVER_API}${getBaseURL(orgSid, teamName)}`;
13

Callers 2

getMainBaseURLFunction · 0.85
getAnalysisBaseURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected