MCPcopy
hub / github.com/Nutlope/self.so / getSelfSoUrl

Function getSelfSoUrl

lib/utils.ts:8–14  ·  view source on GitHub ↗
(username: string)

Source from the content-addressed store, hash-verified

6}
7
8export function getSelfSoUrl(username: string) {
9 const domain =
10 process.env.NODE_ENV === 'development'
11 ? 'http://localhost:3000'
12 : 'https://self.so';
13 return `${domain}/${username}`;
14}
15
16export const TOGETHER_LINK = 'https://togetherai.link/?utm_source=self.so&utm_medium=referral&utm_campaign=example-app';

Callers 3

PreviewActionbarFunction · 0.90
CustomLiveToastFunction · 0.90
PreviewClientFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected