bruhmoment

This commit is contained in:
2024-09-20 16:49:47 +02:00
parent be4c201d81
commit f3b56ef5fa
3 changed files with 17 additions and 5 deletions

View File

@ -68,8 +68,8 @@ export const useGameStore = defineStore('game', {
return false
})
},
async fetchAllAssets() {
return fetch(config.server_endpoint + '/assets')
async fetchAllZoneAssets() {
return fetch(config.server_endpoint + '/assets/zone')
.then((response) => response.json())
.then((assets) => {
// Only add the zones that are not already in the store