-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (28 loc) · 1.06 KB
/
index.html
File metadata and controls
28 lines (28 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<title>WHOOP Authorization</title>
<style>
body { font-family: Arial; background: #1a1a1a; color: white; display: flex; align-items: center; justify-content: center; height: 100vh; margin: 0; }
.container { text-align: center; background: #2a2a2a; padding: 40px; border-radius: 8px; }
h1 { margin: 0 0 20px 0; }
code { background: #1a1a1a; padding: 10px; display: block; margin: 20px 0; word-break: break-all; }
</style>
</head>
<body>
<div class="container">
<h1>WHOOP Authorization</h1>
<p>Authorization code:</p>
<code id="code">Loading...</code>
<p><small>Copy this code and send it to Jarvis</small></p>
</div>
<script>
const params = new URLSearchParams(window.location.search);
const code = params.get('code') || 'No code found in URL';
document.getElementById('code').textContent = code;
if (code && code !== 'No code found in URL') {
console.log('Authorization code:', code);
}
</script>
</body>
</html>