MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / getIcloudSetupUrlForHost

Function getIcloudSetupUrlForHost

icloud-utils.js:39–44  ·  view source on GitHub ↗
(host)

Source from the content-addressed store, hash-verified

37 }
38
39 function getIcloudSetupUrlForHost(host) {
40 const normalizedHost = normalizeIcloudHost(host);
41 if (normalizedHost === 'icloud.com') return 'https://setup.icloud.com/setup/ws/1';
42 if (normalizedHost === 'icloud.com.cn') return 'https://setup.icloud.com.cn/setup/ws/1';
43 return '';
44 }
45
46 function getIcloudHostHintFromMessage(message) {
47 const lower = String(message || '').toLowerCase();

Callers 2

Calls 1

normalizeIcloudHostFunction · 0.85

Tested by

no test coverage detected