MCPcopy 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

12const LOCAL_ENDPOINT = "http://localhost:8080";
13
14const extractHostPort = (url: string) => {
15 const parsed = new URL(url);
16 return parsed.host;
17};
18
19export default defineConfig({
20 plugins: [

Callers 1

vite.config.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected