fix fetch json
This commit is contained in:
parent
a164019dd1
commit
8ae87dceea
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user