MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / makeBaseUrl

Function makeBaseUrl

vmm/ui/src/composables/useVmManager.ts:495–497  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

493 });
494
495 function makeBaseUrl(pathname: string) {
496 return `${pathname}?json`;
497 }
498
499 async function baseRpcCall(pathname: string, params: Record<string, unknown> = {}) {
500 const response = await fetch(makeBaseUrl(pathname), {

Callers 1

baseRpcCallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected