mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-09 00:59:02 +03:00
feat: base64 index-data to avoid misencoding (#421)
This commit is contained in:
@@ -108,7 +108,7 @@ window.addEventListener("DOMContentLoaded", async () => {
|
||||
return;
|
||||
}
|
||||
|
||||
DATA = JSON.parse($indexData.innerHTML);
|
||||
DATA = JSON.parse(atob($indexData.innerHTML));
|
||||
DIR_EMPTY_NOTE = PARAMS.q ? 'No results' : DATA.dir_exists ? 'Empty folder' : 'Folder will be created when a file is uploaded';
|
||||
|
||||
await ready();
|
||||
|
||||
Reference in New Issue
Block a user