MCPcopy 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
5function getCsrfTokenElement(doc) {
6 return doc.querySelector("meta[name='csrf-token']");
7}
8
9class ControllerError extends Error {
10 /**

Callers 1

getCsrfTokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected