Remove script.js

pull/37/head
Varun Patil 2022-08-16 01:20:04 +00:00
parent 2de33bff69
commit 0273dfc63e
1 changed files with 0 additions and 11 deletions

View File

@ -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);
}
})();