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

Function csrfToken

public/js/aiChat.js:20–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20function csrfToken() {
21 return (
22 document.querySelector('meta[name="csrf-token"]')?.content ||
23 window.csrfToken ||
24 ''
25 );
26}
27
28async function safeJson(resp) {
29 try {

Callers 1

apiPostFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected