update: pobieranie zdjęć z API (gh)

This commit is contained in:
2023-01-03 19:21:54 +01:00
parent c5b3e8f3e0
commit 8e0cf04562
2 changed files with 10 additions and 6 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export default defineComponent({
async created() {
const stockData = await (
await fetch(`https://spythere.github.io/api/stockDataNew.json?t=${Math.floor(Date.now() / 60000)}`)
await fetch(`https://spythere.github.io/api/td2/data/stockData.json?t=${Math.floor(Date.now() / 60000)}`)
).json();
this.store.stockData = stockData;