import "../../_dnt.polyfills.js"; import { tryGetEnv } from "../../util/mod.js" export function detectServer() { const url = tryGetEnv("CAPI_SERVER") if (!url) throw new Error("Could not detect current-running Capi server") return url }