MCPcopy Create free account
hub / github.com/devnomad-byte/EvolveHub / getApiUrl

Function getApiUrl

frontend/src/api/upload.ts:9–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7
8// 获取 API 基础 URL
9function getApiUrl(): string {
10 const base = import.meta.env.VITE_API_BASE_URL || ''
11 return base ? `${base}/api` : '/api'
12}
13
14/**
15 * 上传 MCP Server ZIP 包(带进度监控)

Callers 1

uploadMcpZipFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected