mirror of
https://github.com/hexahigh/games.git
synced 2025-12-11 20:15:38 +01:00
fix?
This commit is contained in:
parent
8111e3b030
commit
c1e62a0a2d
@ -9,8 +9,14 @@
|
||||
<script>
|
||||
function YEET(){
|
||||
const url = document.getElementById("input").value
|
||||
const output = document.getElementById("out")
|
||||
fetch(url, { method: 'DELETE' })
|
||||
.then(() => document.getElementById("out") = 'Delete successful');
|
||||
}
|
||||
.then((response) => {
|
||||
if(response.ok) {
|
||||
output.innerHTML = 'Delete successful';
|
||||
}
|
||||
|
||||
})
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
Loading…
x
Reference in New Issue
Block a user