MCPcopy Create free account
hub / github.com/QLHazyCoder/FlowPilot / openAccountsPageSoon

Function openAccountsPageSoon

content/sub2api-panel.js:289–299  ·  view source on GitHub ↗
(origin)

Source from the content-addressed store, hash-verified

287}
288
289function openAccountsPageSoon(origin) {
290 const accountsUrl = `${origin}/admin/accounts`;
291 if (location.href === accountsUrl || location.pathname.startsWith('/admin/accounts')) {
292 return;
293 }
294 setTimeout(() => {
295 try {
296 location.replace(accountsUrl);
297 } catch { }
298 }, 500);
299}
300
301async function step1_generateOpenAiAuthUrl(payload = {}, options = {}) {
302 const { report = true } = options;

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected