MCPcopy Create free account
hub / github.com/nodejs/node / getGlobalOrigin

Function getGlobalOrigin

deps/undici/undici.js:4176–4178  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4174 "use strict";
4175 var globalOrigin = /* @__PURE__ */ Symbol.for("undici.globalOrigin.1");
4176 function getGlobalOrigin() {
4177 return globalThis[globalOrigin];
4178 }
4179 __name(getGlobalOrigin, "getGlobalOrigin");
4180 function setGlobalOrigin(newOrigin) {
4181 if (newOrigin === void 0) {

Callers 2

baseUrlMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected