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

Function removeProxy

src/dashboard/proxy-config.js:94–101  ·  view source on GitHub ↗
(scope, accountId)

Source from the content-addressed store, hash-verified

92}
93
94export function removeProxy(scope, accountId) {
95 if (scope === 'global') {
96 _config.global = null;
97 } else if (scope === 'account' && accountId) {
98 delete _config.perAccount[accountId];
99 }
100 save();
101}
102
103/**
104 * Get effective proxy for an account (per-account takes priority over global).

Callers 2

handleDashboardApiFunction · 0.90

Calls 1

saveFunction · 0.70

Tested by

no test coverage detected