Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tiny-pilot/tinypilot
/ getCsrfTokenElement
Function
getCsrfTokenElement
app/static/js/controllers.js:5–7 ·
view source on GitHub ↗
(doc)
Source
from the content-addressed store, hash-verified
3
}
4
5
function
getCsrfTokenElement(doc) {
6
return
doc.querySelector(
"meta[name='csrf-token']"
);
7
}
8
9
class
ControllerError extends Error {
10
/**
Callers
1
getCsrfToken
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected