sentence mistake
This commit is contained in:
parent
8b6f6e5228
commit
058b4f4f0d
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -164,7 +164,7 @@ app.get("/watch", async (req, res) => {
|
||||||
if (!(id in videoCache && videoCache[id]["downloaded"] == true)) {
|
if (!(id in videoCache && videoCache[id]["downloaded"] == true)) {
|
||||||
html = html.replace("{CACHE_WARNING}", `
|
html = html.replace("{CACHE_WARNING}", `
|
||||||
<p style="color: lightgray">Please note that this video has not been fully cached, and may have trouble loading!
|
<p style="color: lightgray">Please note that this video has not been fully cached, and may have trouble loading!
|
||||||
<br>{DOWNLOAD_PERCENT}% cached.</p>
|
<br>{DOWNLOAD_PERCENT}% cached (as of page load).</p>
|
||||||
`)
|
`)
|
||||||
if (id in videoCache && "download%" in videoCache[id]) {
|
if (id in videoCache && "download%" in videoCache[id]) {
|
||||||
html = html.replace("{DOWNLOAD_PERCENT}", videoCache[id]["download%"])
|
html = html.replace("{DOWNLOAD_PERCENT}", videoCache[id]["download%"])
|
||||||
|
|
Loading…
Reference in a new issue