Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/basecamp/trix
/ getOrigin
Function
getOrigin
src/test/unit/html_parser_test.js:393–396 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
391
}
392
393
const
getOrigin = () => {
394
const
{ protocol, hostname, port } = window.location
395
return
`${protocol}
//${hostname}${port ? `:${port}` : ""}`
396
}
Callers
1
html_parser_test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…