Remove script.js
parent
2de33bff69
commit
0273dfc63e
11
js/script.js
11
js/script.js
|
@ -1,11 +0,0 @@
|
|||
(async () => {
|
||||
const res = await fetch('/apps/betterphotos/api/list');
|
||||
const data = await res.json();
|
||||
for (const p of data) {
|
||||
const img = document.createElement('img');
|
||||
img.classList = 'photo';
|
||||
img.src = `/core/preview?fileId=${p.file_id}&x=250&y=250`;
|
||||
document.getElementById('photos').appendChild(img);
|
||||
}
|
||||
})();
|
||||
|
Loading…
Reference in New Issue