minor refactoring

This commit is contained in:
2023-05-13 17:58:34 +02:00
parent 9b3b3e15b6
commit 55b59bfd2c
23 changed files with 28 additions and 11 deletions

View File

@ -19,7 +19,7 @@ export const bootstrap = async () => {
Burger.addEventListener("click", mode.menuOpen.toggle);
mode.loading.on();
const lines = await fetchText("../files.txt");
const lines = await fetchText("files.txt");
const links = parseFileList(lines);
const firstHref = links[0].href;
sortFileListLines(links);