Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
20
function
csrfToken() {
21
return
(
22
document.querySelector(
'meta[name="csrf-token"]'
)?.content ||
23
window.csrfToken ||
24
''
25
);
26
}
27
28
async
function
safeJson(resp) {
29
try {
Callers
1
apiPost
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected