MCPcopy Create free account
hub / github.com/error311/FileRise / getCsrf

Function getCsrf

public/js/adminPanel.js:1827–1830  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1825
1826 const esc = (val) => escapeHTML(val == null ? '' : String(val));
1827 const getCsrf = () =>
1828 document.querySelector('meta[name="csrf-token"]')?.content ||
1829 window.csrfToken ||
1830 '';
1831
1832 const setStatus = (msg, tone = 'muted') => {
1833 if (!statusEl) return;

Callers 7

runSourceTestFunction · 0.85
initSourcesSectionFunction · 0.85
apiPostFunction · 0.85
runGatewayTestFunction · 0.85
saveGatewayFunction · 0.85
deleteGatewayFunction · 0.85
initGatewaysSectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected