Update 404.html

This commit is contained in:
Bart van der Braak 2023-06-12 12:54:20 +02:00 committed by GitHub
parent 0f8d3ab714
commit 77f310f1f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@
const subUrl = item.url;
await fetchEndpoints(subUrl, endpointsList);
} else if (item.type === "file" && item.name === "index.html") {
const endpointUrl = `/${item.path.split("/index.html")[0]}/`;
const endpointUrl = `/omnidash/${item.path.split("/index.html")[0]}/`;
const endpointLink = `<a href="${endpointUrl}">${endpointUrl}</a>`;
const listItem = document.createElement("li");
listItem.innerHTML = endpointLink;