Spaces:
Build error
Build error
Create index.html
Browse files- index.html +17 -0
index.html
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html>
|
| 3 |
+
<head><title>NexaClothes</title></head>
|
| 4 |
+
<body>
|
| 5 |
+
<h1>🔥 NexaClothes LIVE</h1>
|
| 6 |
+
<button onclick="randomOutfit()">Random Sexy</button>
|
| 7 |
+
<pre id="outfit"></pre>
|
| 8 |
+
<script>
|
| 9 |
+
async function randomOutfit(){
|
| 10 |
+
await fetch('/api/avatar/Nexa/random',{method:'POST'});
|
| 11 |
+
const r=await fetch('/api/avatar/Nexa');
|
| 12 |
+
document.getElementById('outfit').textContent=JSON.stringify(await r.json(),null,2);
|
| 13 |
+
}
|
| 14 |
+
randomOutfit();
|
| 15 |
+
</script>
|
| 16 |
+
</body>
|
| 17 |
+
</html>
|