mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-04-27 23:41:21 +00:00
Update 404.html
This commit is contained in:
parent
0f8d3ab714
commit
77f310f1f9
1 changed files with 1 additions and 1 deletions
2
404.html
2
404.html
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue