Update public/main.js
This commit is contained in:
parent
a54ea5a7dc
commit
340bfb4ce1
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue