|
|
@ -13,10 +13,10 @@
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const fetch_things = async (first_number) => {
|
|
|
|
const fetch_things = async (first_number) => {
|
|
|
|
const file = fetch(url.root + url.files)
|
|
|
|
const file = fetch(url.root + url.files + "?p=" + Math.random())
|
|
|
|
.then(resp => resp.text())
|
|
|
|
.then(resp => resp.text())
|
|
|
|
.then(data => data.split('\n'));
|
|
|
|
.then(data => data.split('\n'));
|
|
|
|
const thumb = fetch(url.root + url.thumb + url.files)
|
|
|
|
const thumb = fetch(url.root + url.thumb + url.files + "?q=" + Math.random())
|
|
|
|
.then(resp => resp.text())
|
|
|
|
.then(resp => resp.text())
|
|
|
|
.then(data => data.split('\n'));
|
|
|
|
.then(data => data.split('\n'));
|
|
|
|
const out = await Promise.all([file, thumb]);
|
|
|
|
const out = await Promise.all([file, thumb]);
|
|
|
|