Loading index.php +1 −1 Original line number Diff line number Diff line Loading @@ -259,7 +259,7 @@ header('X-Robots-Tag: noindex, nofollow'); try { // IMPORTANT: ideally this should be a POST that only "consumes" on purpose. const response = await fetch(`/secret-api.php?id=${encodeURIComponent(id)}`, { const response = await fetch(`/secret-api.php?id=${encodeURIComponent(id)}&retrieve`, { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({passphraseHint: !!passphrase}) // optional, backend can ignore Loading Loading
index.php +1 −1 Original line number Diff line number Diff line Loading @@ -259,7 +259,7 @@ header('X-Robots-Tag: noindex, nofollow'); try { // IMPORTANT: ideally this should be a POST that only "consumes" on purpose. const response = await fetch(`/secret-api.php?id=${encodeURIComponent(id)}`, { const response = await fetch(`/secret-api.php?id=${encodeURIComponent(id)}&retrieve`, { method: 'POST', headers: {'Content-Type': 'application/json'}, body: JSON.stringify({passphraseHint: !!passphrase}) // optional, backend can ignore Loading