Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/CaliCastle/cali.so
/ url
Function
url
lib/index.ts:1–8 ·
view source on GitHub ↗
(path = '')
Source
from the content-addressed store, hash-verified
1
export
function
url(path =
''
) {
2
const
baseUrl =
3
process.env.NODE_ENV ===
'production'
4
?
'https://cali.so'
5
:
'http://localhost:3000'
6
7
return
new
URL(path, baseUrl)
8
}
Callers
11
Root
Function · 0.90
NotFoundPage
Function · 0.90
sitemap
Function · 0.90
layout.tsx
File · 0.90
POST
Function · 0.90
POST
Function · 0.90
POST
Function · 0.90
UserInfo
Function · 0.90
BlogPage
Function · 0.90
Guestbook
Function · 0.90
AdminCommentsPage
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected