fix fetch json

This commit is contained in:
Adrien MALINGREY 2023-07-20 02:08:31 +02:00
parent a164019dd1
commit 8ae87dceea

View File

@ -241,7 +241,7 @@
<script>
Array.prototype.choice = function () { return this[Math.floor(Math.random() * this.length)] }
fetch("https://adrien.malingrey.fr/dev/groscon/noms.json")
fetch("noms.json")
.then(response => response.json())
.then(json => {
noms = json