Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AnswerOverflow/AnswerOverflow
/ makeMainSiteLink
Function
makeMainSiteLink
packages/constants/src/links.ts:51–53 ·
view source on GitHub ↗
(path: string)
Source
from the content-addressed store, hash-verified
49
};
50
51
export
const
makeMainSiteLink = (path: string) => {
52
return
`${getBaseUrl()}${path.startsWith(
'/'
) ? path : `/${path}`}`;
53
};
Callers
2
SignInButton
Function · 0.90
middleware
Function · 0.90
Calls
1
getBaseUrl
Function · 0.70
Tested by
no test coverage detected