MCPcopy
hub / github.com/7836246/cursor2api / authQ

Function authQ

public/logs.js:16–16  ·  view source on GitHub ↗
(base)

Source from the content-addressed store, hash-verified

14if (urlToken) localStorage.setItem('cursor2api_token', urlToken);
15const authToken = localStorage.getItem('cursor2api_token') || '';
16function authQ(base) { return authToken ? (base.includes('?') ? base + '&token=' : base + '?token=') + encodeURIComponent(authToken) : base; }
17function logoutBtn() {
18 if (authToken) {
19 const b = document.createElement('button');

Callers 5

initFunction · 0.85
connectSSEFunction · 0.85
updStatsFunction · 0.85
selReqFunction · 0.85
clearLogsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected