Feat: Add /cookie page for debugging

This commit is contained in:
2025-10-02 11:50:22 -07:00
parent 683582ea8c
commit 3a289190ae

18
cookie.html Normal file
View File

@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cookie Inspector</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-black text-white min-h-screen flex items-center justify-center font-mono">
<div class="w-full max-w-lg p-4">
<h1 class="text-xl text-yellow-200 mb-4">Current Cookie</h1>
<pre id="output" class="bg-gray-900 p-4 rounded text-sm whitespace-pre-wrap break-all"></pre>
</div>
<script>
document.getElementById('output').textContent = document.cookie || '(empty)';
</script>
</body>
</html>