mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-03 11:45:34 +00:00
update: pobieranie zdjęć z API (gh)
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user