Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytebase/bytebase
/ extractHostPort
Function
extractHostPort
frontend/vite.config.ts:14–17 ·
view source on GitHub ↗
(url: string)
Source
from the content-addressed store, hash-verified
12
const
LOCAL_ENDPOINT =
"http://localhost:8080"
;
13
14
const
extractHostPort = (url: string) => {
15
const
parsed =
new
URL(url);
16
return
parsed.host;
17
};
18
19
export
default defineConfig({
20
plugins: [
Callers
1
vite.config.ts
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected