Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ loadUserSelectedProxy
Function
loadUserSelectedProxy
site/src/contexts/ProxyContext.tsx:306–313 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
304
};
305
306
const loadUserSelectedProxy = (): Region | undefined => {
307
const str = localStorage.getItem(
"user-selected-proxy"
);
308
if (!str) {
309
return undefined;
310
}
311
312
return JSON.parse(str);
313
};
Callers
1
ProxyProvider
Function · 0.85
Calls
1
parse
Method · 0.80
Tested by
no test coverage detected