Update to latest version
This commit is contained in:
1 parent
7125e29993
commit
c74ef9cf9c
15 files changed
+191
-70
No files matched your search
@@ -93,7 +93,7 @@ async function loadFiles(path) {
|
||||
try {
|
||||
const form = new FormData();
|
||||
form.append('path', path);
|
||||
const resp = await fetch('/api/files/list', { method: 'POST', body: form });
|
||||
const resp = await csrfFetch('/api/files/list', { method: 'POST', body: form });
|
||||
const data = await resp.json();
|
||||
if (!data.success) {
|
||||
list.innerHTML = '';
|
||||
|
||||
Reference in new issue
Block a user