diff --git a/index.js b/index.js index 193039f..e97c6db 100644 --- a/index.js +++ b/index.js @@ -164,7 +164,7 @@ app.get("/watch", async (req, res) => { if (!(id in videoCache && videoCache[id]["downloaded"] == true)) { html = html.replace("{CACHE_WARNING}", `

Please note that this video has not been fully cached, and may have trouble loading! -
{DOWNLOAD_PERCENT}% cached.

+
{DOWNLOAD_PERCENT}% cached (as of page load).

`) if (id in videoCache && "download%" in videoCache[id]) { html = html.replace("{DOWNLOAD_PERCENT}", videoCache[id]["download%"])