Commit 23a1e8c6 authored by Arnolds's avatar Arnolds
Browse files

Added clarification comment in index.php to optimize secret retrieval logic.

parent 070ca948
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -257,6 +257,7 @@ header('X-Robots-Tag: noindex, nofollow');
            decryptBtn.disabled = true;

            try {
                // We don't fetch secret from server every time. One time received can be tried multiple times.
                if (!result) {
                    const response = await fetch(`/secret-api.php?id=${encodeURIComponent(id)}&retrieve`, {
                        method: 'POST',