csrf-correction

This commit is contained in:
denis defolie
2026-07-10 09:49:36 +02:00
parent 695e59174a
commit 90d271dc2b
8 changed files with 17 additions and 12 deletions
@@ -171,7 +171,7 @@ class ReplayManager {
const ok = confirm(`Télécharger le fichier ?\n\n${filename}`);
if (!ok) return false;
fetch(this.video_endpoint, {
csrfFetch(this.video_endpoint, {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({