1
0
Fork 0

Update public/main.js
All checks were successful
Build and deploy / build (push) Successful in 47s
Build and deploy / Deploy (push) Successful in 16s

This commit is contained in:
Lilith Ashley Nyx Arson 🔥 2025-01-14 18:01:45 +01:00
parent a54ea5a7dc
commit 340bfb4ce1

View file

@ -3,7 +3,7 @@ var options = { headers: { "Accept": "application/json" } };
var nocache = (new Date()-0).toString(16) var nocache = (new Date()-0).toString(16)
fetch(base + "#" + nocache, options).then(r => r.json()).then(r => { fetch(base + "?" + nocache, options).then(r => r.json()).then(r => {
r.filter(i => i.is_dir).forEach(e => { r.filter(i => i.is_dir).forEach(e => {
const card = document.createElement('div'); const card = document.createElement('div');
card.className = 'card d-inline border-primary m-1'; card.className = 'card d-inline border-primary m-1';