Référencer la BDD locale
continuous-integration/drone/push Build is passing Details

This commit is contained in:
RyujiDanma 2022-06-07 18:41:43 +00:00
parent 82af9265eb
commit c71c7e6eac
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -196,7 +196,7 @@
}
};
$http.get('https://raw.githubusercontent.com/Mopolo/Eternelle-Moisson/gh-pages/monsters.json').then(function(res) {
$http.get('monsters.json').then(function(res) {
vm.monsters = res.data;
vm.monsters.forEach(monster => {
monster.owned = vm.saveData?.find(el => el[0] === monster.id) ? vm.saveData.find(el => el[0] === monster.id)[1] : 0