Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/ollm/OpenComic
/ getBaseUrl
Function
getBaseUrl
scripts/server-client.js:12–17 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
10
}
11
12
function
getBaseUrl(path)
13
{
14
path = posixPath(path);
15
16
return
app.extract(/^([a-z0-9]+\:\/\/?[^\/\\:]+)(:[0-9]+)?/, path, 1);
17
}
18
19
function
getShare(path)
20
{
Callers
nothing calls this directly
Calls
1
posixPath
Function · 0.70
Tested by
no test coverage detected