mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
@@ -26,6 +26,7 @@ function eventsource() {
|
||||
// eslint-disable-next-line compat/compat
|
||||
fetch("/api/action/gravity", {
|
||||
method: "POST",
|
||||
headers: { "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr("content") },
|
||||
})
|
||||
// Retrieve its body as ReadableStream
|
||||
.then(response => {
|
||||
|
||||
Reference in New Issue
Block a user