MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / configureBindHost

Function configureBindHost

src/auth.js:1818–1820  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

1816// ─── Incoming request API key validation ───────────────────
1817
1818export function configureBindHost(host) {
1819 _bindHost = String(host ?? '');
1820}
1821
1822export function isLocalBindHost(bindHost = _bindHost) {
1823 const host = String(bindHost || '').trim().toLowerCase().replace(/^\[|\]$/g, '');

Calls

no outgoing calls

Tested by

no test coverage detected