MCPcopy Create free account
hub / github.com/Exafunction/codeium-chrome / getGeneralProfileUrl

Function getGeneralProfileUrl

src/storage.ts:122–132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120// Note that this gets you the profile URL given the current portal URL, not the
121// specific profile URL of the logged in account.
122export async function getGeneralProfileUrl(): Promise<string> {
123 const portalUrl = await (async (): Promise<string> => {
124 const url = await getGeneralPortalUrl();
125 if (url === undefined) {
126 return 'https://www.codeium.com';
127 }
128 return url;
129 })();
130 console.log('Portal URL used for profile:', portalUrl);
131 return `${portalUrl}/profile`;
132}
133
134// default allowlist
135export const defaultAllowlist = [

Callers 2

openAuthTabFunction · 0.90
Options.tsxFile · 0.90

Calls 1

getGeneralPortalUrlFunction · 0.85

Tested by

no test coverage detected