oops
This commit is contained in:
parent
50bbb2199b
commit
dd9c8c65d6
2 changed files with 4 additions and 1 deletions
|
@ -5,6 +5,7 @@ Simpletube is a NodeJS youtube client without ads or client-sided javascript.
|
|||
## Player Goals
|
||||
- [x] Make a basic video player
|
||||
- [x] Make it *stylish*
|
||||
- [ ] Add channel info
|
||||
- [ ] Add captions
|
||||
- [ ] Show channel on watch page
|
||||
- [ ] Add live support
|
||||
|
|
4
index.js
4
index.js
|
@ -153,7 +153,9 @@ app.get("/search", async (req, res) => {
|
|||
`
|
||||
}
|
||||
}
|
||||
|
||||
if (addedHTML == "") {
|
||||
addedHTML = "<h2>No results found!</h2>"
|
||||
}
|
||||
res.send(html.replace("{RESULTS}", addedHTML))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue